minikrampan
Ultra Cool Member
- Reaction score
- 28
Trigger:
- Sliding stuff
- Events
- Time - Every 0.03 seconds of game time
- Conditions
- Actions
- Set casting_point = (Position of casting_unit)
- Unit Group - Pick every unit in Unit_total and do (Actions)
- Loop - Actions
- Set real1[(Custom value of (Picked unit))] = (real1[(Custom value of (Picked unit))] + 2.00)
- Set real1b[(Custom value of (Picked unit))] = (70.00 + real1[(Custom value of (Picked unit))])
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- real2[(Custom value of (Picked unit))] Greater than or equal to 360.00
- Then - Actions
- Set real2[(Custom value of (Picked unit))] = 0.00
- Else - Actions
- Set real2[(Custom value of (Picked unit))] = (real2[(Custom value of (Picked unit))] + 2.50)
- If - Conditions
- Set temp_point = (casting_point offset by real1b[(Custom value of (Picked unit))] towards real2[(Custom value of (Picked unit))] degrees)
- Unit - Move (Picked unit) instantly to temp_point
- Custom script: call RemoveLocation(udg_temp_point)
- Loop - Actions
- Custom script: call RemoveLocation (udg_casting_point)
- Events
Ok, i have a couple of units sliding around in a spiral kinda. How would i pick units that comes to close to the sliding units and damage them and remove the sliding unit?
Fast solution = +rep