dannyboydude
Ultra Cool Member
- Reaction score
- 33
Well why doesnt this trigger work ?
I just wanted a simple trigger for my map and it wont work
Code:
Mortar 360 Attack
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
Set MortarGroup = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Mortar Team))
Unit Group - Pick every unit in MortarGroup and do (Actions)
Loop - Actions
Set P = ((Position of (Picked unit)) offset by 175.00 towards (Real(CV)) degrees)
Set CV = (Custom value of (Picked unit))
Unit - Order (Picked unit) to Attack Ground P
Unit - Set the custom value of (Picked unit) to CV
Set CV = (CV + 20)
Custom script: call RemoveLocation ( udg_P )
Custom script: call DestroyGroup ( udg_MortarGroup )
I just wanted a simple trigger for my map and it wont work