- Joined
- Dec 26, 2010
- Messages
- 475
Hi guys, i just wanna ask if my trigger leaks


-
Select Hero Random
-

Events
-


Time - HeroPick_Timer expires
-
-

Conditions
-

Actions
-


Countdown Timer - Destroy HeroPick_TimerWindow
-


Player Group - Pick every player in Map_Players[0] and do (Actions)
-



Loop - Actions
-




If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-





If - Conditions
-






Player_Already_Picked[(Player number of (Picked player))] Equal to 0
-
-





Then - Actions
-






Set Random_Hero = (Random integer number between 1 and RandomHeroes)
-






Unit - Create 1 Heroes[Random_Hero] for (Picked player) at (Center of Hero Tavern Out <gen>) facing Default building facing degrees
-






Quest - Display to (All enemies of (Picked player)) the Hint message: (A player has randomed + (Name of (Last created unit)))
-






Set Player_Already_Picked[(Player number of (Picked player))] = (Player_Already_Picked[(Player number of (Picked player))] + 1)
-






Custom script: call DestroyForce(udg_Map_Players[0])
-






Player Group - Pick every player in Map_Players[0] and do (Actions)
-







Loop - Actions
-








Player - Make (Unit-type of (Last created unit)) Unavailable for training/construction by (Picked player)
-








Custom script: call DestroyForce(udg_Map_Players[0])
-
-
-
-





Else - Actions
-
-
-
-
-





