- Kobolot Burrow Loop
-
Events
- Time - Every 0.50 seconds of game time
- Conditions
-
Actions
- Set Points[1] = (Position of HeroKoboltCaster)
- Custom script: set udg_Reals[1] = LoadReal (udg_Hashtable, GetHandleId (udg_HeroKoboltCaster), StringHash ("x"))
- Custom script: set udg_Reals[1] = LoadReal (udg_Hashtable, GetHandleId (udg_HeroKoboltCaster), StringHash ("y"))
- Set Points[2] = (Reals[1], Reals[2])
-
If (All conditions are true) then do (Actions) else do (Actions)
-
If - Conditions
- (Distance between Points[1] and Points[2]) Less than or Equal to 15
-
Then - Actions
- Trigger - Turn off (This trigger)
-
Else - Actions
- Special Effect - Create a special effect at Points[1] using Objects\Spawnmodels\Undead\ImpaleTargetDust\ImpaleTargetDust.mdl
- Special Effect - Destroy (Last created special effect)
-
If - Conditions
- Custom script: call RemoveLocation (udg_Points[1])
- Custom script: call RemoveLocation (udg_Points[2])
Save the X of (Target point of issued order) and the Y of (Target point of issued order) into a hashtable, on the (Key(Triggering unit)) and in the periodic check
THE x and y as hashtables to be saved ... HELPPPPP
my progres has bean stoped i cannot brake the wall so hard with wooden spoon ,,, please
Last edited by a moderator: