I would suggest making "is1" into a boolean. Booleans can be true or false. You can test these conditions before you execute an action.
After making the boolean, go to your trigger. Go to "Condition" and choose "comparison" as the option. Then click on "comparison" and click variable. Here you will see your new made boolean. Choose your newly made boolean, then you can select if you want it to be true or false before executing the action.
Thanks a lot! That was tiny step for MrFizher and a huge step for Muniek. Finally i got to the point i was dreaming about all the time... at last i have learned how to use these variables!! It opens a whole new dimension for trigger-making for me now! :D
How to make specific value of variable a condition for a trigger?
I have variable called "is1" with default value "no".
When specific unit enters specific region, the variable "is1" have its value changed to "yes".
Now i need to make it as a condition for another trigger and i cant find the way. :S
Please help.
I would suggest making "is1" into a boolean. Booleans can be true or false. You can test these conditions before you execute an action.
After making the boolean, go to your trigger. Go to "Condition" and choose "comparison" as the option. Then click on "comparison" and click variable. Here you will see your new made boolean. Choose your newly made boolean, then you can select if you want it to be true or false before executing the action.
hope it helps
@MrFizher: Go
Thanks a lot! That was tiny step for MrFizher and a huge step for Muniek. Finally i got to the point i was dreaming about all the time... at last i have learned how to use these variables!! It opens a whole new dimension for trigger-making for me now! :D
Thanks!!
No problem mate,
I am just figuring out the editor myself, and if i can help anyone with the things i've learned, that would be great :)