- Joined
- Jan 11, 2018
- Messages
- 23
-
RaceSelect
-
Events
-
Unit - A unit Finishes an upgrade
-
-
Conditions
-
Actions
-
Set PlayerNumber = (Player number of (Owner of (Triggering unit)))
-
For each (Integer A) from 1 to 4, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Triggering unit)) Equal to RaceType[(Integer A)]
-
-
Then - Actions
-
Unit - Create 1 BattlefieldHQType[(Integer A)] for (Player(PlayerNumber)) at (Center of PlayerStartBattlefield[PlayerNumber]) facing Default building facing degrees
-
Unit Group - Pick every unit in (Units in PlayerStart[PlayerNumber] matching ((Unit-type of (Matching unit)) Equal to Building Foundation)) and do (Actions)
-
Loop - Actions
-
Unit - Replace (Picked unit) with a FoundationType[(Integer A)] using The new unit's max life and mana
-
-
-
-
Else - Actions
-
-
-
-
-