Hi. I was wondering you guys could help me.
I'm playing around with modding, trying to get familiar with the syntax. I thought the following code was pretty basic:
Code:
WHAT: all
WHERE: all
WHEN: 0-24
WHO: none
OTHER: none
SceneStart()
"Test statement"
0:: "Yes"
1:: "No"
2:: "Maybe"
If 0
"You have selected choice 1"
Elseif 1
"You have selected choice 2"
Elseif 2
"You have selected choice 3"
Endif
SceneEnd()
When I load the game, enable my module, and force the scene to run (via the console), it runs. The only problem is the conditional statement doesn't work. The "Test Statement" pops up, and the selection menu comes up, as expected. But, no matter what option I select, it runs through each quoted statement as though the If statement isn't even there. All 3 choices are displayed one after the other.
Is there something special I have to do in order to enable conditional logic in my mod?