[trigger="CS Run"]
CS Run
Events
Time - Every 0.50 seconds of game time
Conditions
(Number of units in CS_Group) Greater than 0
Actions
Unit Group - Pick every unit in CS_Group and do (Actions)
Loop - Actions
Set CS_TempInteger = (Custom value of (Picked unit))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(CS_Target[CS_TempInteger] is dead) Equal to True
CS_CurrentTime[CS_TempInteger] Greater than or equal to CS_MaxTime[CS_TempInteger]
Then - Actions
Unit - Remove (Picked unit) from the game
Unit Group - Remove CS_Target[CS_TempInteger] from CS_Check
Unit - Unpause CS_Target[CS_TempInteger]
Animation - Change CS_Target[CS_TempInteger]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Animation - Change CS_Target[CS_TempInteger]'s animation speed to 100.00% of its original speed
Animation - Change CS_Target[CS_TempInteger] turn speed to 0.50
Special Effect - Destroy CS_SFX[CS_TempInteger]
Else - Actions
Animation - Change CS_Target[CS_TempInteger]'s animation speed to 0.00% of its original speed
Animation - Change CS_Target[CS_TempInteger] turn speed to 0.00
Animation - Change CS_Target[CS_TempInteger]'s vertex coloring to (30.00%, 30.00%, 100.00%) with 0.00% transparency
Set CS_CurrentTime[CS_TempInteger] = (CS_CurrentTime[CS_TempInteger] + 0.50)
[/trigger]