- Joined
- Feb 13, 2014
- Messages
- 26
I'm trying to an event like
What I'm trying to do is a trigger that goes on when Red types a message then when Blue types.. and so on with out having to make multiple copies of the trigger for each player.
But when I try to assign the variable I get a gray Box even though I have my integer variable created ( it acts as if it doesn't exist)
I even tried a work around with a dummy hero
this last one doesn't work either, well it does for the first run
-Player 1 types... but then the event get set to player 1 indefinitely instead of changing to player 2 after its first run.
looking at how it behaves I'm guessing you cant have events like that depending on variables?
-
Events
- Player - Player 1 (Red) types a chat message containing test as An exact match
What I'm trying to do is a trigger that goes on when Red types a message then when Blue types.. and so on with out having to make multiple copies of the trigger for each player.
But when I try to assign the variable I get a gray Box even though I have my integer variable created ( it acts as if it doesn't exist)
I even tried a work around with a dummy hero
-
Debug Copy
-
Events
- Player - (Player((Hero level of Select 0011 <gen>))) types a chat message containing test as An exact match
- Conditions
-
Actions
- Hero - Set Select 0011 <gen> Hero-level to ((Hero level of Select 0011 <gen>) + 1), Hide level-up graphics
- Player Group - Add (Player((TempInteger + 1))) to PlayerGroup
- Set TempInteger = (TempInteger + 1)
- Trigger - Run Hero select Initialization Copy <gen> (checking conditions)
-
Events
this last one doesn't work either, well it does for the first run
-Player 1 types... but then the event get set to player 1 indefinitely instead of changing to player 2 after its first run.
looking at how it behaves I'm guessing you cant have events like that depending on variables?