FireBladesX
Eating my wings!
- Reaction score
- 123
How do I move a unit without making it forget it's current order? (Continue attacking while sliding)
You will have to usewithout making it forget it's current order?
Actions
Set Temp_Position[0] = (Position of (Triggering unit))
Set Temp_Position[1] = (Target point of ability being cast)
Set Temp_Position[2] = (Temp_Position[0] offset by 20.00 towards (Angle from Temp_Position[0] to Temp_Position[1]) degrees)
Custom script: call SetUnitX(GetTriggerUnit(), GetLocationX(udg_Temp_Position[2]))
Custom script: call SetUnitY(GetTriggerUnit(), GetLocationY(udg_Temp_Position[2]))
Custom script: call RemoveLocation(udg_Temp_Position[0])
Custom script: call RemoveLocation(udg_Temp_Position[1])
Custom script: call RemoveLocation(udg_Temp_Position[2])
I don't quite get you.with the value of the array being [ParaInt + 5].
Actions
Custom script: call SetUnitX(GetTriggerUnit(), udg_ParaX)
Custom script: call SetUnitY(GetTriggerUnit(), udg_ParaY)
I don't quite get you.
Code:Actions Custom script: call SetUnitX(GetTriggerUnit(), udg_ParaX) Custom script: call SetUnitY(GetTriggerUnit(), udg_ParaY)
Actions
Custom script: call SetUnitX(GetTriggerUnit(), udg_ParaX[udg_ParaInt + 5])
Custom script: call SetUnitY(GetTriggerUnit(), udg_ParaY[udg_ParaInt + 5])