• 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.

World Editor - Deadly Terrian Help please

Status
Not open for further replies.
Level 1
Joined
Oct 27, 2013
Messages
2
Hey guys

I am making a maze map where i have to make so units die when they step on the terrian type "Dark ice"

PLease help :)
 
  • Untitled Trigger 001
    • Events
      • Time - Every 0.03 seconds of game time
    • Conditions
    • Actions
      • Set unit_group = (Units in (Playable map area))
      • Unit Group - Pick every unit in unit_group and do (Actions)
        • Loop - Actions
          • Set loc = (Position of (Picked unit))
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Terrain type at loc) Equal to Lordaeron Summer - Dirt
            • Then - Actions
              • Unit - Kill (Picked unit)
            • Else - Actions
          • Custom script: call RemoveLocation(udg_log)
      • Custom script: call DestroyGroup(udg_unit_group)
You may want to set loc with an offset incase it's to sensitive.
 
Status
Not open for further replies.
Top