• 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] How to use a trigger if your making a maze

Status
Not open for further replies.
Level 2
Joined
Feb 5, 2008
Messages
6
:cry::cry::cry:I DONT KNOW HOW TO USE A TRIGGER:cry::cry::cry:I want to make a maze so i need to know how to make it so if you touch a unit or terrain u die.And i need to know how to make units patrol when they are not reds unit.:confused::confused::hohum:
 
Level 1
Joined
May 15, 2008
Messages
4
umm 2 make it so you die if you get 1 close to a unit what i do is make a custom spell of cloak of flame and give it a small area damage then add like 10000 damage to it so if you get 2 close thay die
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
Patrol: Just Issue Order "patrol" targeting whatever point.

Die upon units: immolation

Die upon terrain:

Uses Point variable TempPoint

  • TerrainKill
    • Events
      • Time - Every 0.10 Seconds of Game Time
    • Conditions
    • Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Unit Group - Pick Every Unit in (Units of Type Maze Runner) and do Actions
        • Loop - Actions
          • Set TempPoint = (Position of (Picked UNit))
          • If (All Conditions are true) Then do (Then actions) Else do (Else actions)
            • If - Conditions
              • (Terrain-type at TempPoint) Equal to (<The Death Terrain Type>)
            • Then - Actions
              • Unit - Kill (Picked Unit)
            • Else - Actions
          • Custom script: call RemoveLocation(udg_TempPoint)
 
Level 1
Joined
May 27, 2008
Messages
1
dont use terrain kill...its not that hard to make a regular regions and edit them so when you walk off you die. it takes some time and a lot of commitment, but from a maze maker like me people will really like your maze a LOT more.
 
Status
Not open for further replies.
Top