• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Slide trigger not working

Status
Not open for further replies.
Level 20
Joined
Oct 21, 2006
Messages
3,230
  • 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