CJW
October 3, 2012, 11:06am
1
You’d have thought, if it were at all possible, you’d write it like this:
I’m gonna go play
*choice
*if (friends_with_team_captain) *hide_reuse #Rugby!
Yay, Rugby!
*goto rugby
*hide_reuse #Football!
Yay, Football!
*goto football
But it doesn’t. Does anyone have any bright ideas as to how I can work around this? Without using a boolean to if every single one…
Moving the #'s in line doesn’t seem to work either.
EDIT: Nevermind, figured it
*choice
*if (friends_with_team_captain)
*hide_reuse #Rugby!
seems to work
1 Like
@CJW I recall posting an epic example of that fun stuff:
Or: *hide_reuse and *if Also, does *if have to use a *goto ? For example, *if (Raining) It's raining! Instead of: *if (Raining) It's raining! *goto nextpart *label nextpart Edit from March, 2020. This is the correct format: ...
Reading time: 12 mins 🕑
Likes: 10 ❤
Advanced *choice is on the Wiki TODO list . . . or if it wasn’t before, it is now.
CJW
October 3, 2012, 12:52pm
3
My bad… Should’ve used the search function
CJW
November 14, 2012, 5:33pm
4
Quick update on this, you can actually combine these commands, but the reuse term needs to come first. Or that’s how it seems with my latest experiences anyway.
*allow_reuse *if (policeman) #Arrest Him
Should work fine.