- Joined
- Mar 1, 2013
- Messages
- 555
Hey everyone, I was working on my orb craft project and I've found that only the first 3 units that enter this region get a hero. WHY!?
[hidden="trigger]
[hidden="trigger]
-
HRandom
-

Events
-


Unit - A unit enters HRandom <gen>
-
-

Conditions
-


(Unit-type of (Entering unit)) Equal to Sceleton
-
-

Actions
-


Unit - Remove (Entering unit) from the game
-


Unit - Create 1 (Unit-type of (Random unit from HRandom)) for (Owner of (Entering unit)) at ((Owner of (Entering unit)) start location) facing (Center of (Playable map area))
-


Camera - Pan camera for (Owner of (Entering unit)) to (Position of (Last created unit)) over 0.00 seconds
-


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



If - Conditions
-




((Entering unit) is in AI) Equal to True
-
-



Then - Actions
-




Unit Group - Remove (Entering unit) from AI
-




Unit Group - Add (Last created unit) to AI
-
-



Else - Actions
-
-


Set Hero[(Player number of (Owner of (Entering unit)))] = (Last created unit)
-
-


