Map modes and commands, help!

Status
Not open for further replies.
Level 4
Joined
Jun 15, 2010
Messages
67
I have made the triggers like on this site: http://world-editor-tutorials.thehelper.net/herotavern.php
They are pretty good but one trigger doesn't deactivate each other, that's why I can have few heroes at once using, for example, -ar and then -random. I have tried fixing it by making variable that changes in each trigger but still can't fix the bug with (in correct order) -random and -ar. Help me if you can :(
 
Try making a boolean array, and make your triggers check it every time they run. For example, if a player types "random", set his/her variable to True. Then, if he/she tries to type another command, have your trigger check the variable, and not run if it's true.
 
Status
Not open for further replies.
Back
Top