- Joined
- Jul 15, 2012
- Messages
- 89
hello everyone
this is what im trying to do :
compiler error :line 408 Expected a name
(that custom script is line 408)
i learned this method here http://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/things-gui-user-should-know-233242/#Section 2 Ch 24
this is what im trying to do :
-
trigger
-
Events
-
Time - Every 0.02 seconds of game time
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Target is in (Units within 400.00 of (Position of Caster))) Equal to False
-
-
Then - Actions
-
Set ShklHero = (Target unit of ability being cast)
-
Set ShklPoint = (Position of ShklHero)
-
Set ShklX = (X of ShklPoint)
-
Set ShklY = (Y of ShklPoint)
-
Custom script: call SetUnitX( ShklHero , ShklX )
-
-
Else - Actions
-
-
-
-
Custom script: call SetUnitX( ShklHero , ShklX )
compiler error :line 408 Expected a name
(that custom script is line 408)
i learned this method here http://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/things-gui-user-should-know-233242/#Section 2 Ch 24