- Joined
- Jul 22, 2015
- Messages
- 152
Anyone know how to fix this? My warcraft 3 get crash after using IssueTargetOrder custom script, how to add ther order properly without crashing?
i want to use different order when using dummy buff in one trigger
i want to use different order when using dummy buff in one trigger
-
Set FUnitTarget_String3[FUnitTarget[0]] = curse
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
FUnitTarget_Inflict[FUnitTarget[1]] Equal to True
-
-
Then - Actions
-
Set Point[0] = (Position of FUnitTarget_Target[FUnitTarget[1]])
-
Unit - Create 1 Peasant Caster for (Owner of FUnitTarget_Cast[FUnitTarget[1]]) at Point[0] facing Default building facing degrees
-
Unit - Add a 1.10 second Generic expiration timer to (Last created unit)
-
Unit - Add FUnitTarget_Ability[FUnitTarget[1]] to (Last created unit)
-
Custom script: call IssueTargetOrder( GetLastCreatedUnit(), udg_FUnitTarget_String3[udg_FUnitTarget[1]], udg_FUnitTarget_Target[udg_FUnitTarget[1]] )
-
Custom script: call RemoveLocation(udg_Point[0])
-
-
Else - Actions
-