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
Master and Apprentice 1.0.w3x
Variables
Messages
message 0
message 1
message 2
message 3
message 4
message 5
message 6
message 7
Share after quitting
red
blue
teal
purple
yellow
green
pink
grey
light blue
dark green
Initialization
Melee Initialization
Add Gold
Untitled Trigger 001
Create Units
create units
Victory Conditions
Left side has all quit
Right side has all quit
Left Castle Destroyed
Right Castle Destroyed
teleports
Teleports out peons RIGHT
Teleport out peons LEFT
Teleports left in
Teleports left out
Teleports right out
Teleports right in
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
goldpersec
integer
No
3
startinggold
integer
No
40
message 0
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Quest - Display to (All players) the Quest Update message: Welcome to Master & Apprentice: You may only have 1 hero and 1 apprentice at all times.
message 1
Events
Time - Elapsed game time is 3.00 seconds
Conditions
Actions
Quest - Display to (All players) the Quest Update message: Build 1 Alter and 1 Barracks to start. Duplicate buildings will NOT help you.
message 2
Events
Time - Elapsed game time is 23.00 seconds
Conditions
Actions
Quest - Display to (All players) the Quest Update message: Select 1 Hero (Alter or Mercenary) and 1 apprentice (unit from the barracks)
message 3
Events
Time - Elapsed game time is 43.00 seconds
Conditions
Actions
Quest - Display to (All players) the Quest Update message: To upgrade your units, Build the other 2 buldings. You only need 1 of each building.
message 4
Events
Time - Elapsed game time is 63.00 seconds
Conditions
Actions
Quest - Display to (All players) the Quest Update message: Grab some items and head to the portal. The portal takes you into the main battle arena.
message 5
Events
Time - Elapsed game time is 83.00 seconds
Conditions
Actions
Quest - Display to (All players) the Quest Update message: Destroy the other teams castle to WIN!
message 6
Events
Time - Elapsed game time is 103.00 seconds
Conditions
Actions
Quest - Display to (All players) the Quest Update message: There are 3 main path's to the other castle. Top, middle, and bottom. Use the top and bottom path's to sneak around to the enemy.
message 7
Events
Time - Elapsed game time is 123.00 seconds
Conditions
Actions
Quest - Display to (All players) the Quest Update message: If your units use dead bodies, look for the Graveyards in the top corners of the arena.
red
Events
Player - Player 1 (Red) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 1 (Red) units with his/her allies
blue
Events
Player - Player 2 (Blue) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 2 (Blue) units with his/her allies
teal
Events
Player - Player 3 (Teal) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 3 (Teal) units with his/her allies
purple
Events
Player - Player 4 (Purple) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 4 (Purple) units with his/her allies
yellow
Events
Player - Player 5 (Yellow) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 5 (Yellow) units with his/her allies
green
Events
Player - Player 7 (Green) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 7 (Green) units with his/her allies
pink
Events
Player - Player 8 (Pink) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 8 (Pink) units with his/her allies
grey
Events
Player - Player 9 (Gray) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 9 (Gray) units with his/her allies
light blue
Events
Player - Player 10 (Light Blue) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 10 (Light Blue) units with his/her allies
dark green
Events
Player - Player 11 (Dark Green) leaves the game
Conditions
Actions
Game - Grant shared vision and full shared unit control of Player 11 (Dark Green) units with his/her allies
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Player - Add startinggold to Player 1 (Red) . Current gold
Player - Add startinggold to Player 2 (Blue) . Current gold
Player - Add startinggold to Player 3 (Teal) . Current gold
Player - Add startinggold to Player 4 (Purple) . Current gold
Player - Add startinggold to Player 5 (Yellow) . Current gold
Player - Add startinggold to Player 7 (Green) . Current gold
Player - Add startinggold to Player 8 (Pink) . Current gold
Player - Add startinggold to Player 9 (Gray) . Current gold
Player - Add startinggold to Player 9 (Gray) . Current gold
Player - Add startinggold to Player 10 (Light Blue) . Current gold
Player - Add startinggold to Player 11 (Dark Green) . Current gold
Melee Game - Create starting units (for all players)
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Untitled Trigger 001
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Player - Add goldpersec to Player 1 (Red) . Current gold
Player - Add goldpersec to Player 2 (Blue) . Current gold
Player - Add goldpersec to Player 3 (Teal) . Current gold
Player - Add goldpersec to Player 4 (Purple) . Current gold
Player - Add goldpersec to Player 5 (Yellow) . Current gold
Player - Add goldpersec to Player 7 (Green) . Current gold
Player - Add goldpersec to Player 8 (Pink) . Current gold
Player - Add goldpersec to Player 9 (Gray) . Current gold
Player - Add goldpersec to Player 10 (Light Blue) . Current gold
Player - Add goldpersec to Player 11 (Dark Green) . Current gold
create units
Events
Map initialization
Conditions
Actions
Left side has all quit
Events
Time - Elapsed game time is 15.00 seconds
Conditions
(Player 1 (Red) slot status) Equal to Has left the game
(Player 2 (Blue) slot status) Equal to Has left the game
(Player 3 (Teal) slot status) Equal to Has left the game
(Player 4 (Purple) slot status) Equal to Has left the game
(Player 5 (Yellow) slot status) Equal to Has left the game
Actions
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Defeat Player 4 (Purple) with the message: Defeat!
Game - Defeat Player 5 (Yellow) with the message: Defeat!
Game - Victory Player 7 (Green) ( Show dialogs, Show scores)
Game - Victory Player 8 (Pink) ( Show dialogs, Show scores)
Game - Victory Player 9 (Gray) ( Show dialogs, Show scores)
Game - Victory Player 10 (Light Blue) ( Show dialogs, Show scores)
Game - Victory Player 11 (Dark Green) ( Show dialogs, Show scores)
Right side has all quit
Events
Time - Elapsed game time is 15.00 seconds
Conditions
(Player 7 (Green) slot status) Equal to Has left the game
(Player 8 (Pink) slot status) Equal to Has left the game
(Player 9 (Gray) slot status) Equal to Has left the game
(Player 10 (Light Blue) slot status) Equal to Has left the game
(Player 11 (Dark Green) slot status) Equal to Has left the game
Actions
Game - Defeat Player 7 (Green) with the message: Defeat!
Game - Defeat Player 8 (Pink) with the message: Defeat!
Game - Defeat Player 9 (Gray) with the message: Defeat!
Game - Defeat Player 10 (Light Blue) with the message: Defeat!
Game - Defeat Player 11 (Dark Green) with the message: Defeat!
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Victory Player 3 (Teal) ( Show dialogs, Show scores)
Game - Victory Player 4 (Purple) ( Show dialogs, Show scores)
Game - Victory Player 5 (Yellow) ( Show dialogs, Show scores)
Left Castle Destroyed
Events
Unit - A unit owned by Player 6 (Orange) . Dies
Conditions
(Triggering unit) Equal to Protect this Castle! 0010 <gen>
Actions
Game - Defeat Player 1 (Red) with the message: Defeat!
Game - Defeat Player 2 (Blue) with the message: Defeat!
Game - Defeat Player 3 (Teal) with the message: Defeat!
Game - Defeat Player 4 (Purple) with the message: Defeat!
Game - Defeat Player 5 (Yellow) with the message: Defeat!
Game - Victory Player 7 (Green) ( Show dialogs, Show scores)
Game - Victory Player 8 (Pink) ( Show dialogs, Show scores)
Game - Victory Player 9 (Gray) ( Show dialogs, Show scores)
Game - Victory Player 10 (Light Blue) ( Show dialogs, Show scores)
Game - Victory Player 11 (Dark Green) ( Show dialogs, Show scores)
Right Castle Destroyed
Events
Unit - A unit owned by Player 12 (Brown) . Dies
Conditions
(Triggering unit) Equal to Protect this Castle! 0011 <gen>
Actions
Game - Defeat Player 7 (Green) with the message: Defeat!
Game - Defeat Player 8 (Pink) with the message: Defeat!
Game - Defeat Player 9 (Gray) with the message: Defeat!
Game - Defeat Player 10 (Light Blue) with the message: Defeat!
Game - Defeat Player 11 (Dark Green) with the message: Defeat!
Game - Victory Player 1 (Red) ( Show dialogs, Show scores)
Game - Victory Player 2 (Blue) ( Show dialogs, Show scores)
Game - Victory Player 3 (Teal) ( Show dialogs, Show scores)
Game - Victory Player 4 (Purple) ( Show dialogs, Show scores)
Game - Victory Player 5 (Yellow) ( Show dialogs, Show scores)
Teleports out peons RIGHT
Events
Unit - A unit enters Gameplay_Area <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 7 (Green)
(Owner of (Triggering unit)) Equal to Player 8 (Pink)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
((Triggering unit) is A peon-type unit) Equal to True
Actions
Unit - Move (Triggering unit) instantly to (Center of waygate_right_1_exit <gen>)
Teleport out peons LEFT
Events
Unit - A unit enters Gameplay_Area <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
(Owner of (Triggering unit)) Equal to Player 5 (Yellow)
((Triggering unit) is A peon-type unit) Equal to True
Actions
Unit - Move (Triggering unit) instantly to (Center of waygate_left_2_exit <gen>)
Teleports left in
Events
Unit - A unit enters waygate_left_1 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
(Owner of (Triggering unit)) Equal to Player 5 (Yellow)
((Triggering unit) is A peon-type unit) Equal to False
Actions
Unit - Move (Triggering unit) instantly to (Center of waygate_left_1_exit <gen>)
Teleports left out
Events
Unit - A unit enters waygate_left_2 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 1 (Red)
(Owner of (Triggering unit)) Equal to Player 2 (Blue)
(Owner of (Triggering unit)) Equal to Player 3 (Teal)
(Owner of (Triggering unit)) Equal to Player 4 (Purple)
(Owner of (Triggering unit)) Equal to Player 5 (Yellow)
((Triggering unit) is A peon-type unit) Equal to False
Actions
Unit - Move (Triggering unit) instantly to (Center of waygate_left_2_exit <gen>)
Teleports right out
Events
Unit - A unit enters waygate_right_1 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 7 (Green)
(Owner of (Triggering unit)) Equal to Player 8 (Pink)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
((Triggering unit) is A peon-type unit) Equal to False
Actions
Unit - Move (Triggering unit) instantly to (Center of waygate_right_1_exit <gen>)
Teleports right in
Events
Unit - A unit enters waygate_right_2 <gen>
Conditions
Or - Any (Conditions) are true
Conditions
(Owner of (Triggering unit)) Equal to Player 7 (Green)
(Owner of (Triggering unit)) Equal to Player 8 (Pink)
(Owner of (Triggering unit)) Equal to Player 9 (Gray)
(Owner of (Triggering unit)) Equal to Player 10 (Light Blue)
(Owner of (Triggering unit)) Equal to Player 11 (Dark Green)
((Triggering unit) is A peon-type unit) Equal to False
Actions
Unit - Move (Triggering unit) instantly to (Center of waygate_right_2_exit <gen>)
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.