DoomedDude
New Member
- Reaction score
- 1
Hey
I am having problems with this trigger, I'm just trying to get it to work before entering the real regions I'm going to use ~~
Event
Time - Round expires
Actions
Set NumberRed = (Random real number between 1.00 and 8.00)
Wait 0.05 game-time seconds
If (NumberRed Equal to 1.00) then do (Unit Group - Pick every unit in (Units in Red Respawn <gen>) and do (Unit - Move (Picked unit) instantly to (Center of Green Respawn <gen>))) else do (Do nothing)
If (NumberRed Equal to 2.00) then do (Unit Group - Pick every unit in (Units in Red Respawn <gen>) and do (Unit - Move (Picked unit) instantly to (Center of Blue Respawn <gen>))) else do (Do nothing)
...
If (NumberRed Equal to 8.00) then do (Unit Group - Pick every unit in (Units in Red Respawn <gen>) and do (Unit - Move (Picked unit) instantly to (Center of (Playable map area)))) else do (Do nothing)
So, it does not work. Tried with other actions it's not about the event.
What is wrong
Is it about the random real number, does it make numbers like 1,24 or 6,39 etc..? If it's that how can I make "whole" numbers with just 1.0 2.0 etc
I am having problems with this trigger, I'm just trying to get it to work before entering the real regions I'm going to use ~~
Event
Time - Round expires
Actions
Set NumberRed = (Random real number between 1.00 and 8.00)
Wait 0.05 game-time seconds
If (NumberRed Equal to 1.00) then do (Unit Group - Pick every unit in (Units in Red Respawn <gen>) and do (Unit - Move (Picked unit) instantly to (Center of Green Respawn <gen>))) else do (Do nothing)
If (NumberRed Equal to 2.00) then do (Unit Group - Pick every unit in (Units in Red Respawn <gen>) and do (Unit - Move (Picked unit) instantly to (Center of Blue Respawn <gen>))) else do (Do nothing)
...
If (NumberRed Equal to 8.00) then do (Unit Group - Pick every unit in (Units in Red Respawn <gen>) and do (Unit - Move (Picked unit) instantly to (Center of (Playable map area)))) else do (Do nothing)
So, it does not work. Tried with other actions it's not about the event.
What is wrong
Is it about the random real number, does it make numbers like 1,24 or 6,39 etc..? If it's that how can I make "whole" numbers with just 1.0 2.0 etc