- Joined
- Feb 19, 2006
- Messages
- 237
How can do a simple If/Then/Else statement with Jass? More importantly how can i check the value of a Boolean variable using Jass? I set a local variable called "inv" to true by inserting custom script and typing "inv = true" and now i want to CHECK what the value of "inv" is. If it is "true" i want to the text "inv is true" to be shown to all players. If it is "false" i want the text "inv is false" to be shown to all players. Help would be greatly appreciated. 
EDIT:
I can do the actions "show text to all players" using GUI...I just want to know how i can make a simple GUI/Jass combination trigger that checks the value of a local boolean then does an action depending on what that value is.
EDIT:
I can do the actions "show text to all players" using GUI...I just want to know how i can make a simple GUI/Jass combination trigger that checks the value of a local boolean then does an action depending on what that value is.