- Joined
- Dec 3, 2018
- Messages
- 906
-
ExtendDefInfo
-

Events
-


Time - Every 2.00 seconds of game time
-
-

Conditions
-

Actions
-


Unit - Remove ExtDefUInfo[1] from the game
-


Unit - Remove ExtDefUInfo[2] from the game
-


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



If - Conditions
-




ExtDefUInfo[1] Equal to No unit
-
-



Then - Actions
-




Unit - Create 1 Starter for Player 9 (Gray) at (Center of Region 075 <gen>) facing Default building facing degrees
-




Set VariableSet ExtDefUInfo[1] = (Last created unit)
-




Unit - Replace ExtDefUInfo[1] with a ExtDefUT[1] using The old unit's relative life and mana
-




Set VariableSet ExtDefUInfo[1] = (Last replaced unit)
-




Unit - Add a 2.00 second Generic expiration timer to (Last replaced unit)
-




Unit - Set Max HP of ExtDefUInfo[1] to ExtDefI[1]
-




Animation - Change ExtDefUInfo[1]'s vertex coloring to (0.00%, 80.00%, 100.00%) with 40.00% transparency
-
-



Else - Actions
-




Unit - Replace ExtDefUInfo[1] with a ExtDefUT[1] using The old unit's relative life and mana
-




Set VariableSet ExtDefUInfo[1] = (Last replaced unit)
-




Unit - Set Max HP of ExtDefUInfo[1] to ExtDefI[1]
-




Animation - Change ExtDefUInfo[1]'s vertex coloring to (0.00%, 80.00%, 100.00%) with 40.00% transparency
-
-
-


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



If - Conditions
-




ExtDefUInfo[2] Equal to No unit
-
-



Then - Actions
-




Unit - Create 1 Starter for Player 10 (Light Blue) at (Center of Region 076 <gen>) facing Default building facing degrees
-




Set VariableSet ExtDefUInfo[2] = (Last created unit)
-




Unit - Replace ExtDefUInfo[2] with a ExtDefUT[2] using The old unit's relative life and mana
-




Set VariableSet ExtDefUInfo[1] = (Last replaced unit)
-




Unit - Add a 2.00 second Generic expiration timer to (Last replaced unit)
-




Unit - Set Max HP of (Triggering unit) to ExtDefI[2]
-




Unit - Set Max HP of ExtDefUInfo[1] to ExtDefI[1]
-




Animation - Change ExtDefUInfo[1]'s vertex coloring to (0.00%, 80.00%, 100.00%) with 40.00% transparency
-
-



Else - Actions
-




Unit - Replace ExtDefUInfo[2] with a ExtDefUT[2] using The old unit's relative life and mana
-




Set VariableSet ExtDefUInfo[1] = (Last replaced unit)
-




Unit - Set Max HP of (Triggering unit) to ExtDefI[2]
-




Unit - Set Max HP of ExtDefUInfo[1] to ExtDefI[1]
-




Animation - Change ExtDefUInfo[1]'s vertex coloring to (0.00%, 80.00%, 100.00%) with 40.00% transparency
-
-
-
-
Considering that periodically ExDefUT 1 and 2 are being changed, this trigger should spawn only 1 unit and change it every 2s. Sadly, it keeps spawning units every 2 seconds. How do I fix this?

