Lord_Kakashi
The Wabbits are attacking
- Reaction score
- 27
Well i'm trying to impliment an anti-stuck trigger in my Tower Defense map using the Matching unit conditions...
But the trigger won't work.. here is how it looks..
But the trigger won't work.. here is how it looks..
Code:
Stuck Issue order
Events
Time - Every 4.00 seconds of game time
Conditions
Actions
Set TempGroup[0] = (Units in (Entire map) matching (((Owner of (Matching unit)) Equal to Player 12 (Brown)) and ((Current movement speed of (Matching unit)) Less than 50.00)))
Unit Group - Pick every unit in TempGroup[0] and do (Unit - Order (Picked unit) to Move To (Center of Regions[(Integer((Mana of (Picked unit))))]))
Custom script: call DestroyGroup(udg_TempGroup[0])