- Joined
- Jul 18, 2010
- Messages
- 12
It's normal GUI code form my map
[Sorry for my english]
ps.I means how to move unit projec in form of vJass.
-
Casting
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to (==) Ability
-
-
Actions
-
Set Cast_Unit = (Triggering unit)
-
Set Distanes = 1000.00
-
Trigger - Turn on Looping <gen>
-
-
-
Looping
-
Events
-
Time - Every 0.04 seconds of game time
-
-
Conditions
-
Actions
-
Set Distanes = (Distanes - 33.00)
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Distanes Less than or equal to (<=) 100.00
-
-
Then - Actions
-
Trigger - Turn off (This trigger)
-
-
Else - Actions
-
Set Cast_Location = (Position of Cast_Unit)
-
Set Move = (Cast_Location offset by 33.00 towards (Facing of Cast_Unit) degrees)
-
Set X = (X of Move)
-
Set Y = (Y of Move)
-
Custom script: call SetUnitX(udg_Cast_Unit, udg_X)
-
Custom script: call SetUnitY(udg_Cast_Unit, udg_Y)
-
Custom script: call RemoveLocation (udg_Cast_Location)
-
Custom script: call RemoveLocation (udg_Move)
-
-
-
-
-
[Sorry for my english]
ps.I means how to move unit projec in form of vJass.