• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Trigger] another slide trigger (help plz)

Status
Not open for further replies.
Level 4
Joined
Dec 8, 2007
Messages
86
  • Slide
    • Events
      • Time - Every 0.04 seconds of game time
    • Conditions
    • Actions
      • Set temp_Group = (Units of type Escaper)
      • Unit Group - Pick every unit in (Units of type Escaper) and do (Actions)
        • Loop - Actions
          • Set temp_Point = (Position of (Picked unit))
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Terrain type at temp_Point) Equal to Northrend - Ice
              • ((Picked unit) is alive) Equal to True
            • Then - Actions
              • Unit - Move (Picked unit) instantly to (temp_Point offset by 11.00 towards (Facing of (Picked unit)) degrees)
            • Else - Actions
              • Custom script: call RemoveLocation(udg_temp_Point)
              • Custom script: call DestroyGroup(udg_temp_Group)
I got this trigger for my slide (it works) but now i wan't to make the units movable on the ice...
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
  • Unknown
    • Events
      • Unit - A unit Is issued an order targeting a point
    • Conditions
    • Actions
      • Set Point[1] = (Position of (Triggering unit))
      • Set Point[2] = (Target point of issued order)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • You can make this based on terrain type or region
          • (Terrain type at Point[1]) Equal to Northrend - Ice
          • (Building <gen> contains (Triggering unit)) Equal to True
        • Then - Actions
          • Change the time to whatever you want
          • You can also add a condition of an item or skill of course
          • Unit - Make (Triggering unit) face Point[2] over 1.50 seconds
        • Else - Actions
 
Status
Not open for further replies.
Top