Say I have a spear and a variable called ARMDMG. If your arm is undamaged (ARMDMG = 0) the the item will go to a page where you throw and hit with the spear, but if arm is damaged (ARMDMG = 1) then the item goes to a page where you miss. Or something to that affect.
Is there a way to do that and if so how would I do it? Thanks for responses.
Ogre11 yeah that's pretty obvious don't know why I didn't consider it. If I can't do the thing below then I'll probably do it this way.
Killa Robot, thanks for that. I think that could be very useful if I wanted to do some more complex stuff with this from the Random Variable tutorial and randomize it. Could I do something like this (with a damage to the enemy variable called ENMDMG)
IF ARMDMG = 0 THEN %ENMDMG := 4*random number
IF %ENMDMG > 8 THEN $DEST := 24.
Or something to that effect? (btw what does $ do?)
Basically what that is supposed to accomplish is, if the arm is undamaged, the enemy damage is given a number. Then the second line is, if that number is greater than 8, go to page 24.
Then I'd have a series of other IF/THEN's for all the available possibilities with different pages for each one. Is that possible? And if so am I on the right track?