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!
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
Triggers
Undead's Wrath RPG.w3x
Variables
Initialization
Map Initialization
Respawning
Hero Selection
Blademaster Selection
Paladin Selection
Demonhunter Selection
Lich Selection
After
Deadly Rogue! Quest
Deadly Rogue Start
Deadly Rogue Finish
Delivery Quest
Delivery Quest Start
Delivery Quest Finish
Lost Kid Quest
Lost Kid Quest Start
Lost Kid Quest Middle II
Lost Kid Quest Middle III
Lost Kid Quest Middle IIII
Lost Kid Quest End
New Town Quest
New Town Quest Start
New Town Quest Finish
Final Battle Quest
Final Battle Quest Start
Final Battle Quest End
Misc.
Gate Open
Gate Close
No Creep Zone
Gate 2 Open
Gate 2 Close
Medivh Gate Open
Medivh Gate Close
Teleport to Boss
No Go Medivh
Medivh trigs
Enter map-specific custom script code below. This text will be included in the map script after variables are declared and before any trigger code.
Name
Type
is_array
initial_value
Default melee game initialization for all players
Map Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Special Effect - Create a special effect attached to the overhead (Unexpected type: 'attachpoint') of Smith 0008 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
Destructible - Make Demonic Gate 0001 <gen> Invulnerable
Destructible - Make Gate 0172 <gen> Invulnerable
Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Base_Vision <gen>
Respawning
Events
Unit - A unit Dies
Conditions
((Owner of (Dying unit)) Equal to Neutral Hostile) or (((Dying unit) is A Hero) Equal to True)
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Dying unit) is A Hero) Equal to True
Then - Actions
Wait 10.00 seconds
Hero - Instantly revive (Dying unit) at (Center of Starting_Town <gen>) , Show revival graphics
Else - Actions
Wait 40.00 seconds
Unit - Create 1 (Unit-type of (Dying unit)) for (Owner of (Dying unit)) at (Position of (Dying unit)) facing (Position of Fountain of Health 0013 <gen>)
Blademaster Selection
Events
Unit - A unit enters Blademaster <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Wisp
Actions
Unit - Create 1 Blademaster for (Owner of (Entering unit)) at (Center of Starting_Town <gen>) facing (Position of Fountain of Health 0013 <gen>)
Unit - Explode (Entering unit) .
Paladin Selection
Events
Unit - A unit enters Paladin <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Wisp
Actions
Unit - Create 1 Paladin for (Owner of (Entering unit)) at (Center of Starting_Town <gen>) facing (Position of Fountain of Health 0013 <gen>)
Unit - Explode (Entering unit) .
Demonhunter Selection
Events
Unit - A unit enters Demonhunter <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Wisp
Actions
Unit - Create 1 Demon Hunter for (Owner of (Entering unit)) at (Center of Starting_Town <gen>) facing (Position of Fountain of Health 0013 <gen>)
Unit - Explode (Entering unit) .
Lich Selection
Events
Unit - A unit enters Lich <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Wisp
Actions
Unit - Create 1 Lich for (Owner of (Entering unit)) at (Center of Starting_Town <gen>) facing (Position of Fountain of Health 0013 <gen>)
Unit - Explode (Entering unit) .
After
Events
Unit - Wisp 0029 <gen> Dies
Conditions
Actions
Camera - . Apply . gg_cam_Camera_003 for Player 1 (Red) over 1.00 seconds
Unit - Remove Demon Hunter 0003 <gen> from the game
Unit - Remove Lich 0002 <gen> from the game
Unit - Remove Paladin 0000 <gen> from the game
Unit - Remove Blademaster 0001 <gen> from the game
Deadly Rogue Start
Events
Unit - A unit enters Deadly_Rogue_Quest_Start <gen>
Conditions
(Triggering unit) Equal to (Entering unit)
Actions
Special Effect - Destroy (Last created special effect)
Quest - Create a Required quest titled Deadly Rogue! with the description A Rogue named George are plotting against the Human Town. Kill him before he can destroy the town! , using icon path ReplaceableTextures\CommandButtons\BTNBandit.blp
Quest - Enable (Last created quest)
Quest - Mark (Last created quest) as Discovered
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Turn on letterbox mode (hide interface) for (All players) : fade out over 1.00 seconds
Wait 2 seconds
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 2.00 seconds
Wait 3.00 seconds
Cinematic - Send transmission to (All players) from Smith 0008 <gen> named Smith : Play No sound and display Please, go kill George the bandit. His reign of tyranny must stop. . Modify duration: Add 0 seconds and Wait
Wait 2 seconds
Camera - . Apply . gg_cam_Camera_002 for Player 1 (Red) over 2.00 seconds
Cinematic - Turn off letterbox mode (show interface) for (All players) : fade in over 2 seconds
Cinematic - Turn cinematic mode Off for (All players)
Trigger - Turn off (This trigger)
Trigger - Turn on Deadly_Rogue_Finish <gen>
Deadly Rogue Finish
Events
Unit - George 0021 <gen> Dies
Conditions
Actions
Quest - Mark (Last created quest) as Completed
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Turn on letterbox mode (hide interface) for (All players) : fade out over 2 seconds
Camera - . Apply . gg_cam_Camera_004 for Player 1 (Red) over 1.00 seconds
Unit - Remove George 0021 <gen> from the game
Wait 2 seconds
Cinematic - Send transmission to (All players) from George 0021 <gen> named George : Play No sound and display Why? I had no ill ... (cough) intentions to the town. You ... have ... made ... . Modify duration: Add 0 seconds and Wait
Wait 2 seconds
Camera - . Apply . gg_cam_Camera_007 for Player 1 (Red) over 2.00 seconds
Cinematic - Turn off letterbox mode (show interface) for (All players) : fade in over 2 seconds
Cinematic - Turn cinematic mode Off for (All players)
Item - Create Gold Coins at (Center of Gold_Coins_from_Rogue_Quest <gen>)
Game - Display to (All players) for 4.00 seconds the text: Return to Smith for a reward.
Quest - Change the description of (Last created quest) to George has been vanquished from these lands. He remarked before he died that I made ... something. He didn't finish the sentence before he died. A pity.
Trigger - Turn off (This trigger)
Trigger - Turn on Delivery_Quest_Start <gen>
Special Effect - Create a special effect attached to the overhead (Unexpected type: 'attachpoint') of Mary 0009 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
Delivery Quest Start
Events
Unit - A unit enters Delivery_Quest_Start <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Special Effect - Destroy (Last created special effect)
Quest - Create a Required quest titled Delivery with the description Mary needs you to deliver an Orb to Medivh in the Town Heights. , using icon path ReplaceableTextures\CommandButtons\BTNOrbOfFire.blp
Quest - Mark (Last created quest) as Discovered
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Turn on letterbox mode (hide interface) for (All players) : fade out over 1.00 seconds
Camera - . Apply . gg_cam_Camera_005 for Player 1 (Red) over 1.00 seconds
Cinematic - Send transmission to (All players) from Mary 0009 <gen> named Mary : Play No sound and display Hi. I need you to take this Orb of Fire to Medivh as soon as possible. . Modify duration: Add 0 seconds and Wait
Wait 2 seconds
Item - Create Orb of Fire at (Center of Fire_Orb_Creation <gen>)
Item - Pick every item in (Playable map area) and do (Give (Last created item) to (Triggering unit))
Game - Display to (All players) the text: Orb of Fire acquired!
Camera - . Apply . gg_cam_Camera_008 for Player 1 (Red) over 2.00 seconds
Cinematic - Turn off letterbox mode (show interface) for (All players) : fade in over 2 seconds
Cinematic - Turn cinematic mode Off for (All players)
Trigger - Turn off (This trigger)
Trigger - Turn on Delivery_Quest_Finish <gen>
Trigger - Turn on Medivh_Gate_Open <gen>
Trigger - Turn on Medivh_Gate_Close <gen>
Trigger - Turn off No_Go_Medivh <gen>
Delivery Quest Finish
Events
Unit - A unit enters Delievery_Quest_Finish <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Quest - Mark (Last created quest) as Completed
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Entering unit) has an item of type Orb of Fire) Equal to True
Then - Actions
Item - Remove (Item carried by (Entering unit) of type Orb of Fire)
Cinematic - Turn cinematic mode On for (All players)
Cinematic - Turn on letterbox mode (hide interface) for (All players) : fade out over 2 seconds
Camera - . Apply . gg_cam_Camera_006 for Player 1 (Red) over 1.00 seconds
Wait 2 seconds
Cinematic - Send transmission to (All players) from Medivh 0014 <gen> named Medivh : Play No sound and display Thank you. I very much needed this. Here are some coins for your trouble. . Modify duration: Add 0 seconds and Wait
Item - Create Gold Coins at (Center of Gold_Coins_from_Delivery_Quest <gen>)
Camera - . Apply . gg_cam_Camera_009 for Player 1 (Red) over 2.00 seconds
Quest - Change the description of (Last created quest) to Medivh has attained the Orb of Fire and as a result rewarded me with some gold.
Cinematic - Turn off letterbox mode (show interface) for (All players) : fade in over 2 seconds
Cinematic - Turn cinematic mode Off for (All players)
Trigger - Turn off (This trigger)
Trigger - Turn on Lost_Kid_Quest_Start <gen>
Trigger - Turn on Medivh_trigs <gen>
Special Effect - Create a special effect attached to the overhead (Unexpected type: 'attachpoint') of Jill 0031 <gen> using Abilities\Spells\Other\TalkToMe\TalkToMe.mdl
Else - Actions
Cinematic - Send transmission to (All players) from Medivh 0014 <gen> named Medivh : Play No sound and display Where is the Orb of Fire? . Modify duration: Add 0 seconds and Wait
Lost Kid Quest Start
Events
Unit - A unit enters Lost_Kid_Quest_Start <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Quest - Create a Required quest titled Lost Kid with the description Lil' Johnny was stolen by some Bandits. They're base is located in the North-East part of the Forest. , using icon path ReplaceableTextures\CommandButtons\BTNVillagerKid.blp
Quest - Enable (Last created quest)
Game - Display to (All players) for 7.00 seconds the text: Jill: Ahh! Some bandits kidnapped my son, Lil' Johnny. Can you save him?
Trigger - Turn off (This trigger)
Lost Kid Quest Middle II
Events
Unit - Brigand 0042 <gen> Dies
Conditions
Actions
Destructible - Kill Village Tree Wall 0209 <gen>
Unit - Remove Brigand 0042 <gen> from the game
Lost Kid Quest Middle III
Events
Unit - Rogue 0044 <gen> Dies
Conditions
Actions
Unit - Remove Rogue 0044 <gen> from the game
Lost Kid Quest Middle IIII
Events
Unit - Bandit 0043 <gen> Dies
Conditions
Actions
Unit - Remove Bandit 0043 <gen> from the game
Lost Kid Quest End
Events
Unit - A unit enters Lost_Kid_Quest_Finish <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Game - Display to (All players) for 5.00 seconds the text: Lil' Johnny: Thank you so much, mister. I'm sure my mom has a reward for you!
Unit - Move Lil'Johnny 0045 <gen> instantly to (Center of Lost_Kid_Quest_Start <gen>)
Quest - Mark (Last created quest) as Completed
Item - Create Ring of the Archmagi (version 1) at (Center of Lost_Kid_Quest_Start <gen>)
Trigger - Turn off (This trigger)
New Town Quest Start
Events
Unit - A unit enters New_Town_Quest_Start <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Quest - Create a Required quest titled New Town with the description There is another town to the east of here. Travel there and meet up with my buddy, Peter. He will let you in on everything and show you around. , using icon path ReplaceableTextures\CommandButtons\BTNGhoul.blp
Quest - Mark (Last created quest) as Discovered
Game - Display to (All players) for 7.00 seconds the text: Deathbringer: Hello. Travel to the New Town to the East. Meet up with my friend, Peter. He will show you around.
Trigger - Turn off (This trigger)
New Town Quest Finish
Events
Unit - A unit enters New_Town_Quest_End <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Quest - Mark (Last created quest) as Completed
Game - Display to (All players) for 10.00 seconds the text: Peter: Welcome to the Town. I'm Peter. There is a huge problem. Our town was cursed by a huge demon named Destromath. We were once regular people, but, alas, the curse changed everything around us. We will help you as best we can. Here is some Gold for a start.
Item - Create Gold Coins + 50 at (Center of New_Town_Quest_End <gen>)
Trigger - Turn off (This trigger)
Final Battle Quest Start
Events
Unit - A unit enters Final_Battle_Quest_Start <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Quest - Create a Required quest titled Final Battle with the description This is it. It all comes down to this. Destromath is in your sights. When you kill him, the Blight will dissipate back into normal land and the nightmare will be over. Get yourself ready, because once you go in ... Your not coming back out. , using icon path ReplaceableTextures\CommandButtons\BTNPitLord.blp
Quest - Mark (Last created quest) as Discovered
Game - Display to (All players) for 10.00 seconds the text: Queen: Hello. Welcome to my Lair. I have a Teleportation device in the next room that will send you to Destromath's Lair. Be wary. He is strong and cunning. I advise you check your supplies and health. Good luck, and let the Light be with you.
Trigger - Turn off (This trigger)
Final Battle Quest End
Events
Unit - Pit Lord 0054 <gen> Dies
Conditions
Actions
Quest - Mark (Last created quest) as Completed
Game - Display to (All players) for 7.00 seconds the text: Destromath: RAWR!!!!!!!!! THIS ISN'T POSSIBLE!!!
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Gate Open
Events
Unit - A unit enters Gate <gen>
Conditions
Actions
Destructible - Open Gate 0172 <gen>
Gate Close
Events
Unit - A unit leaves Gate <gen>
Conditions
Actions
Destructible - Close Gate 0172 <gen>
No Creep Zone
Events
Unit - A unit enters No_Creeps_Zone <gen>
Conditions
(Unit-type of (Triggering unit)) Equal to Bandit
Actions
Unit - Move (Triggering unit) instantly to (Center of Creep_Teleport_Zone <gen>)
Gate 2 Open
Events
Unit - A unit enters Gate_2 <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Destructible - Open Demonic Gate 0003 <gen>
Gate 2 Close
Events
Unit - A unit leaves Gate_2 <gen>
Conditions
Actions
Destructible - Close Demonic Gate 0003 <gen>
Medivh Gate Open
Events
Unit - A unit enters Medivh_Gate <gen>
Conditions
Actions
Destructible - Open Demonic Gate 0001 <gen>
Medivh Gate Close
Events
Unit - A unit leaves Medivh_Gate <gen>
Conditions
Actions
Destructible - Close Demonic Gate 0001 <gen>
Teleport to Boss
Events
Unit - A unit enters Boss_Teleport <gen>
Conditions
Actions
Unit - Move (Entering unit) instantly to (Center of Boss_Teleport_To <gen>)
No Go Medivh
Events
Unit - A unit enters Medivh_Gate <gen>
Conditions
Actions
Game - Display to (All players) the text: Medivh is not welcoming visitors at the moment. Try again later.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.