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