Hey everyone.
I have a problem with an Ice Slide trigger I have made (well, copied) from a thread here in the Hive.
The trigger is this: (sorry, my warcraft 3 is in spanish, so some things may be in spanish)
PS: Sorry if I missed something, im in a hurry.
I have a problem with an Ice Slide trigger I have made (well, copied) from a thread here in the Hive.
The trigger is this: (sorry, my warcraft 3 is in spanish, so some things may be in spanish)
-
Set Group
-
Events
- Map initialization
- Conditions
-
Actions
- Set Group1 = (Units in Region 293 <gen>)
- Unit Group - Pick every unit in Group1 and do (Unit Group - Add (Triggering unit) to Slider)
- Custom script: call DestroyGroup(udg_Group1)
-
Events
-
Slide Normal
-
Events
- Time - Every 0.05 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in Slider and do (Actions)
-
Loop - Actions
- Set Point1 = (Position of (Picked unit))
- Set Point2 = (Point1 offset by 20.00 towards (Facing of (Picked unit)) degrees)
- If ((Terrain type at Point1) Igual a Icecrown Glacier - Ice) then do (Unit - Move (Picked unit) instantly to Point2) else do (Do nothing)
- Custom script: call RemoveLocation(udg_Point1)
- Custom script: call RemoveLocation(udg_Point2)
-
Loop - Actions
-
Unit Group - Pick every unit in Slider and do (Actions)
-
Events
PS: Sorry if I missed something, im in a hurry.
Last edited: