- Joined
- Jul 9, 2008
- Messages
- 2,555
I am trying to use Obverse Incubation to modify spawns for a picked player. Here is the trigger, which doesn't work.
-
ZTier 1
-
Events
-
Timer - Every 2.0 seconds of Game Time
-
-
Local Variables
-
Point = No Point <Point>
-
-
Conditions
-
Actions
-
Variable - Set Unit Group = (Spawning Pool units in (Entire map) owned by player Any Player matching Excluded: Missile, Dead, with at most Any Amount)
-
Unit Group - Pick each unit in Unit Group and do (Actions)
-
Actions
-
Variable - Set Point = (Position of (Picked unit))
-
General - If (Conditions) then do (Actions) else do (Actions)
-
If
-
ZerglingUpgradeTime[(Picked player)] == 2.0
-
-
Then
-
General - Wait 1.0 Game Time seconds
-
Unit - Create (2 + ZerglingUpgrade[(Owner of (Triggering unit))]) Zergling for player (Owner of (Picked unit)) at Point using default facing (No Options)
-
-
Else
-
Unit - Create 2 Zergling for player (Owner of (Picked unit)) at Point using default facing (No Options)
-
-
-
-
-
-