• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Slide trigger not working

Status
Not open for further replies.
Level 20
Joined
Oct 21, 2006
Messages
3,231
  • Set Group
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set Group1 = (Units in Beginning <gen>)
      • Unit Group - Pick every unit in Group1 and do (Unit Group - Add (Triggering unit) to Slider)
      • Custom script: call DestroyGroup(udg_Group1)
  • 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 (Triggering unit))
          • Set Point2 = (Point1 offset by 20.00 towards (Facing of (Triggering unit)) degrees)
          • If ((Terrain type at Point1) Equal to Northrend - Ice) then do (Unit - Move (Triggering unit) instantly to Point2) else do (Do nothing)
          • Custom script: call RemoveLocation(udg_Point1)
          • Custom script: call RemoveLocation(udg_Point2)
Doesn't work. Nothing happens at all. :(
 
Level 23
Joined
Nov 29, 2006
Messages
2,482
Well... It should be Set Point1 = Position of Triggering unit, since you have no event referring to that unit. Change all the "triggering unit" to "picked unit" and I guess it will work =)
 
Status
Not open for further replies.
Top