Please i beg for help!!!Just this trigger stop me to finish map "Dog beting"
I copy and edit triggers from "Heroes Wars 1.5" i dont know integer and variables to use so i take it.
Can somebody do little easy trigger ,select and set system for run speed??
I want to pick random unit and set that unit speed to xxx.
without that first picked unit there is 5 unit on tracks my second trigger is same as first one but problem is that pick all unit + first picked unit and
there is 20% chance that unit will be picked and it will get "speed 2"
so these 4 units are ground ..this didnt help ,too. Can anybody help?if you need more information just ask!
Sorry for my english!
I copy and edit triggers from "Heroes Wars 1.5" i dont know integer and variables to use so i take it.
Can somebody do little easy trigger ,select and set system for run speed??
I want to pick random unit and set that unit speed to xxx.
-
Actions
- Wait 1.00 seconds
- For each (Integer A) from 1 to 10, do (If (((Player((Integer A))) slot status) Equal to Is playing) then do (Unit Group - Add Heroes[(Player number of (Player((Integer A))))] to VictimUnitGroup) else do (Do nothing))
- Set Victim_Boolean = True
- Set Victim = (Random unit from (Units in race track <gen>))
- Player Group - Pick every player in (All players) and do (Camera - Pan camera for (Picked player) to (Position of Victim) over 2.00 seconds)
- Wait 0.50 seconds
- Unit - Set Victim movement speed to 400.00
- Game - Display to (All players) the text: ((Name of (Owner of Victim)) + got realy good chance to be The Winer!)
- Set Victim_Boolean = False
- Wait 1.00 seconds
- Trigger - Run run2 <gen> (checking conditions)
without that first picked unit there is 5 unit on tracks my second trigger is same as first one but problem is that pick all unit + first picked unit and
there is 20% chance that unit will be picked and it will get "speed 2"
-
Conditions
- ((Random unit from (Units in race track <gen>)) is A ground unit) Equal to True
-
Actions
- For each (Integer A) from 1 to 10, do (If (((Player((Integer A))) slot status) Equal to Is playing) then do (Unit Group - Add Heroes[(Player number of (Player((Integer A))))] to victimunitgroup2) else do (Do nothing))
- Unit Group - Remove Victim from victimunitgroup2
- Set victim_boolean2 = True
- Set victim2 = (Random unit from (Units in race track <gen>))
- Wait 0.50 seconds
- Unit - Set victim2 movement speed to 450.00
- Game - Display to (All players) the text: ((Name of (Owner of victim2)) + its got speed like F1!!!========Maybe will be 1st!=======Holy Shit!)
- Set victim_boolean2 = False
so these 4 units are ground ..this didnt help ,too. Can anybody help?if you need more information just ask!
Sorry for my english!