• 🏆 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!

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