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

Triggers (for Dummies) [Reviewed: Ralle]

Level 2
Joined
Jun 26, 2008
Messages
6
If you already knows the basics of Triggers, please find a more advanced tutorial.

Hello there! You have probaly come to this post because you wonder about one thing: What is a trigger, and how do i use it in my custom maps?

The Basics:
A trigger is a commando taht you use in your custom maps to do special stuff, like making locked doors taht must be opened by killing a boss, for an example.

Triggers? Events? Conditions?
Ok, now i am gona explain what the diferent categories is.

¤Triggers: The place where you put in what shal happen in the game

¤Events: What to happen to activate this trigger (leave blank to activate trigger instantly at gamestart)

¤Conditions: Use this to activate a "Condition" for the player. Example: Hero must be level 10 to activate the trigger. If it is so, the hero must be level 10 and THEN do the event corectly to activate the trigger.

¤Actions: This is where the real triggering begins. Here you select what the trigger is supposed to do after you activate the event (by killing a sertain enemy, etc).

An easy door trigger
Lets begin whit making a trigger to open a locked door (you better make a custom door that is targeted as invurneable before doing this)
To make a new Trigger/Condition/Event/Action, right click at Trigger and select "New (your choice)", then just browse around.

Event: A unit (select what unit you want) dies
Action: Door (select the one you want) opens (can be changed to "Closes" or "Dies")

Now, test map and kill the target enemy unit. Your door should open after he dies.


Making/Killing Objects/Units

First, make a new trigger (call it "my door" or someting)

Then, select a condition (like "Blademaster Dies)

Then, just search the Actions for "Destructibles - Destructible Dies" or "Unit - Unit Dies" (Altrenativly can you select "Dies" and then, select Create. Now, a text named "Unit" or "Destructible" in red will pop upp. Press it and select what unit/destructible you want to create). You will also have the option to select where to create it (Deafult at center of playable map). Whit the help of the region tool, you can select where, by making a region where you want it to be, and then select taht region instead of center of playable map.

If you think you done it right, test play map and kill the unit. If done right, the unit/destructible will pop upp after he dies.

Well, i hope this helped, and you get a plain idea of how to use triggers.
 
Last edited:
Level 9
Joined
Apr 14, 2008
Messages
192
Lol this not that grate you see you need to add some details like how to use:

[1] Triggers
What can you do with the triggers and how to do that.

[2] Conditions
Tell us what they are for and how they are used.

[3] Events
Tell us what some events will do or just give example what you would do.

Above all i would rate this 2/5 this dummys How to use Triggers (for Dummies)
might now work out as well as you think.
 
Level 9
Joined
Apr 14, 2008
Messages
192
This Is For Peaploes Taht Has Never Used A Trigger Before. I did tell how to use it, but if you can a little about the World Editor (and its not WORLD EDITOR FOR DUMMIES), you should probaly understand how to open the trigger menu -_-

I know but they will need more info on how to use the
triggers a bit more and what elce is important is :fp: variables are
important for a dummy to know.

  • Events
    • What is events for
  • Conditions
    • Conditions why are these used
  • Actions
    • How to use and with variables and any other info
Im not saying that this is
a bad understanding of
world edit im just saying
what should be explaned a bit more.

Update please!
 

Ralle

Owner
Level 79
Joined
Oct 6, 2004
Messages
10,183
Top