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
The Battle Of Alnwick Revised.w3x
Variables
Initialization
Melee Initialization
sound
sound Copy
playergroup
leave
p1
p2
p3
p4
p5
p6
p7
p8
p9
p10
p11
p12
player not there
p 1
p 2
p 3
p 4
p 5
p 6
p 7
p 8
p 9
p 10
p 11
p 12
open gates_close gates
open hall
close hall
open barracks
close barracks
open mid
close mid
open entrences
close entrences
quests trigger
qusest
game text
game text
heros left
h1
h2
h3
h4
h5
h6
h7
h8
Defeat t1
h9
h10
h11
h11 Copy
Defeat t2
extra gold
spawns
the extra gold
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
defeat
boolean
No
false
kills
integer
No
0
playergroup1
force
No
playergroup2
force
No
T1heros
integer
No
8
T2heros
integer
No
4
Default melee game initialization for all players
Melee Initialization
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Player Group - Pick every player in (All players) and do (Turn Gives bounty On for (Picked player))
Player Group - Pick every player in playergroup1 and do (Add 50 to (Picked player).Current gold)
Player Group - Pick every player in playergroup2 and do (Add 500 to (Picked player).Current gold)
Visibility - Disable fog of war
Visibility - Disable black mask
sound
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Sound - Use the Cityscape daytime ambient theme
Sound - Use the Cityscape nighttime ambient theme
Sound - Set the music list to Music , starting with a random song
sound Copy
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
Sound - Play LightningBolt1 <gen>
playergroup
Events
Map initialization
Conditions
Actions
-------- player group 1 --------
Player Group - Add Player 1 (Red) to playergroup1
Player Group - Add Player 2 (Blue) to playergroup1
Player Group - Add Player 3 (Teal) to playergroup1
Player Group - Add Player 4 (Purple) to playergroup1
Player Group - Add Player 5 (Yellow) to playergroup1
Player Group - Add Player 6 (Orange) to playergroup1
Player Group - Add Player 7 (Green) to playergroup1
Player Group - Add Player 8 (Pink) to playergroup1
-------- player group 2 --------
Player Group - Add Player 9 (Gray) to playergroup2
Player Group - Add Player 10 (Light Blue) to playergroup2
Player Group - Add Player 11 (Dark Green) to playergroup2
Player Group - Add Player 11 (Dark Green) to playergroup2
p1
Events
Time - Every 2 seconds of game time
Conditions
(Player 1 (Red) slot status) Equal to Has left the game
Actions
Trigger - Turn off (This trigger)
Game - Display to (All players) for 30 seconds the text: ((|c00ff0000 + (Name of Player 1 (Red))) + ((|r + |c0000A7FF) + ( Has Left The Game! + |r)))
Game - Grant shared vision and full shared unit control of Player 1 (Red) units with his/her allies
p2
Events
Time - Every 2 seconds of game time
Conditions
(Player 2 (Blue) slot status) Equal to Has left the game
Actions
Trigger - Turn off (This trigger)
Game - Display to (All players) for 30 seconds the text: ((|c000000FF + (Name of Player 2 (Blue))) + ((|r + |c0000A7FF) + ( Has Left The Game! + |r)))
Game - Grant shared vision and full shared unit control of Player 2 (Blue) units with his/her allies
p3
Events
Time - Every 2 seconds of game time
Conditions
(Player 3 (Teal) slot status) Equal to Has left the game
Actions
Trigger - Turn off (This trigger)
Game - Display to (All players) for 30 seconds the text: ((|c0000FFFF + (Name of Player 3 (Teal))) + ((|r + |c0000A7FF) + ( Has Left The Game! + |r)))
Game - Grant shared vision and full shared unit control of Player 3 (Teal) units with his/her allies
p4
Events
Time - Every 2 seconds of game time
Conditions
(Player 4 (Purple) slot status) Equal to Has left the game
Actions
Trigger - Turn off (This trigger)
Game - Display to (All players) for 30 seconds the text: ((|c009d00ff + (Name of Player 4 (Purple))) + ((|r + |c0000A7FF) + ( Has Left The Game! + |r)))
Game - Grant shared vision and full shared unit control of Player 4 (Purple) units with his/her allies
p5
Events
Time - Every 2 seconds of game time
Conditions
(Player 5 (Yellow) slot status) Equal to Has left the game
Actions
Trigger - Turn off (This trigger)
Game - Display to (All players) for 30 seconds the text: ((|c00ffff00 + (Name of Player 5 (Yellow))) + ((|r + |c0000A7FF) + ( Has Left The Game! + |r)))
Game - Grant shared vision and full shared unit control of Player 5 (Yellow) units with his/her allies
p6
Events
Time - Every 2 seconds of game time
Conditions
(Player 6 (Orange) slot status) Equal to Has left the game
Actions
Trigger - Turn off (This trigger)
Game - Display to (All players) for 30 seconds the text: ((|c00ff8000 + (Name of Player 6 (Orange))) + ((|r + |c0000A7FF) + ( Has Left The Game! + |r)))
Game - Grant shared vision and full shared unit control of Player 6 (Orange) units with his/her allies
p7
Events
Time - Every 2 seconds of game time
Conditions
(Player 7 (Green) slot status) Equal to Has left the game
Actions
Trigger - Turn off (This trigger)
Game - Display to (All players) for 30 seconds the text: ((|c0000cb00 + (Name of Player 7 (Green))) + ((|r + |c0000A7FF) + ( Has Left The Game! + |r)))
Game - Grant shared vision and full shared unit control of Player 7 (Green) units with his/her allies
p8
Events
Time - Every 2 seconds of game time
Conditions
(Player 8 (Pink) slot status) Equal to Has left the game
Actions
Trigger - Turn off (This trigger)
Game - Display to (All players) for 30 seconds the text: ((|c00fe00ff + (Name of Player 8 (Pink))) + ((|r + |c0000A7FF) + ( Has Left The Game! + |r)))
Game - Grant shared vision and full shared unit control of Player 8 (Pink) units with his/her allies
p9
Events
Time - Every 2 seconds of game time
Conditions
(Player 9 (Gray) slot status) Equal to Has left the game
Actions
Trigger - Turn off (This trigger)
Game - Display to (All players) for 30 seconds the text: ((|c007B7B7B + (Name of Player 9 (Gray))) + ((|r + |c0000A7FF) + ( Has Left The Game! + |r)))
Game - Grant shared vision and full shared unit control of Player 9 (Gray) units with his/her allies
p10
Events
Time - Every 2 seconds of game time
Conditions
(Player 10 (Light Blue) slot status) Equal to Has left the game
Actions
Trigger - Turn off (This trigger)
Game - Display to (All players) for 30 seconds the text: ((|c00007BFF + (Name of Player 10 (Light Blue))) + ((|r + |c0000A7FF) + ( Has Left The Game! + |r)))
Game - Grant shared vision and full shared unit control of Player 10 (Light Blue) units with his/her allies
p11
Events
Time - Every 2 seconds of game time
Conditions
(Player 11 (Dark Green) slot status) Equal to Has left the game
Actions
Trigger - Turn off (This trigger)
Game - Display to (All players) for 30 seconds the text: ((|c00005E00 + (Name of Player 11 (Dark Green))) + ((|r + |c0000A7FF) + ( Has Left The Game! + |r)))
Game - Grant shared vision and full shared unit control of Player 11 (Dark Green) units with his/her allies
p12
Events
Time - Every 2 seconds of game time
Conditions
(Player 12 (Brown) slot status) Equal to Has left the game
Actions
Trigger - Turn off (This trigger)
Game - Display to (All players) for 30 seconds the text: ((|c007F4525 + (Name of Player 12 (Brown))) + ((|r + |c0000A7FF) + ( Has Left The Game! + |r)))
Game - Grant shared vision and full shared unit control of Player 12 (Brown) units with his/her allies
p 1
Events
Time - Every 2 seconds of game time
Conditions
(Player 1 (Red) slot status) Equal to Is unused
Actions
Trigger - Turn off (This trigger)
Game - Grant shared vision and full shared unit control of Player 1 (Red) units with his/her allies
p 2
Events
Time - Every 2 seconds of game time
Conditions
(Player 2 (Blue) slot status) Equal to Is unused
Actions
Trigger - Turn off (This trigger)
Game - Grant shared vision and full shared unit control of Player 2 (Blue) units with his/her allies
p 3
Events
Time - Every 2 seconds of game time
Conditions
(Player 3 (Teal) slot status) Equal to Is unused
Actions
Trigger - Turn off (This trigger)
Game - Grant shared vision and full shared unit control of Player 3 (Teal) units with his/her allies
p 4
Events
Time - Every 2 seconds of game time
Conditions
(Player 4 (Purple) slot status) Equal to Is unused
Actions
Trigger - Turn off (This trigger)
Game - Grant shared vision and full shared unit control of Player 4 (Purple) units with his/her allies
p 5
Events
Time - Every 2 seconds of game time
Conditions
(Player 5 (Yellow) slot status) Equal to Is unused
Actions
Trigger - Turn off (This trigger)
Game - Grant shared vision and full shared unit control of Player 5 (Yellow) units with his/her allies
p 6
Events
Time - Every 2 seconds of game time
Conditions
(Player 6 (Orange) slot status) Equal to Is unused
Actions
Trigger - Turn off (This trigger)
Game - Grant shared vision and full shared unit control of Player 6 (Orange) units with his/her allies
p 7
Events
Time - Every 2 seconds of game time
Conditions
(Player 7 (Green) slot status) Equal to Is unused
Actions
Trigger - Turn off (This trigger)
Game - Grant shared vision and full shared unit control of Player 7 (Green) units with his/her allies
p 8
Events
Time - Every 2 seconds of game time
Conditions
(Player 8 (Pink) slot status) Equal to Is unused
Actions
Trigger - Turn off (This trigger)
Game - Grant shared vision and full shared unit control of Player 8 (Pink) units with his/her allies
p 9
Events
Time - Every 2 seconds of game time
Conditions
(Player 9 (Gray) slot status) Equal to Is unused
Actions
Trigger - Turn off (This trigger)
Game - Grant shared vision and full shared unit control of Player 9 (Gray) units with his/her allies
p 10
Events
Time - Every 2 seconds of game time
Conditions
(Player 10 (Light Blue) slot status) Equal to Is unused
Actions
Trigger - Turn off (This trigger)
Game - Grant shared vision and full shared unit control of Player 10 (Light Blue) units with his/her allies
p 11
Events
Time - Every 2 seconds of game time
Conditions
(Player 11 (Dark Green) slot status) Equal to Is unused
Actions
Trigger - Turn off (This trigger)
Game - Grant shared vision and full shared unit control of Player 11 (Dark Green) units with his/her allies
p 12
Events
Time - Every 2 seconds of game time
Conditions
(Player 12 (Brown) slot status) Equal to Is unused
Actions
Trigger - Turn off (This trigger)
Game - Grant shared vision and full shared unit control of Player 12 (Brown) units with his/her allies
open hall
Events
Player - Player 1 (Red) types a chat message containing -open hall (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -open hall (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -open hall (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -open hall (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -open hall (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -open hall (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -open hall (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -open hall (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Destructible - Open Iron Gate 0007 <gen>
close hall
Events
Player - Player 1 (Red) types a chat message containing -close hall (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -close hall (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -close hall (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -close hall (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -close hall (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -close hall (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -close hall (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -close hall (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Destructible - Close Iron Gate 0007 <gen>
open barracks
Events
Player - Player 1 (Red) types a chat message containing -open barracks (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -open barracks (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -open barracks (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -open barracks (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -open barracks (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -open barracks (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -open barracks (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -open barracks (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Destructible - Open Dungeon Gate 0005 <gen>
close barracks
Events
Player - Player 1 (Red) types a chat message containing -close barracks (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -close barracks (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -close barracks (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -close barracks (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -close barracks (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -close barracks (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -close barracks (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -close barracks (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Destructible - Close Dungeon Gate 0005 <gen>
open mid
Events
Player - Player 1 (Red) types a chat message containing -open mid (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -open mid (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -open mid (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -open mid (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -open mid (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -open mid (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -open mid (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -open mid (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Destructible - Open City Entrance 0004 <gen>
close mid
Events
Player - Player 1 (Red) types a chat message containing -close mid (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -close mid (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -close mid (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -close mid (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -close mid (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -close mid (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -close mid (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -close mid (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Destructible - Close City Entrance 0004 <gen>
open entrences
Events
Player - Player 1 (Red) types a chat message containing -open fort (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -open fort (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -open fort (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -open fort (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -open fort (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -open fort (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -open fort (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -open fort (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Destructible - Open Gate 0000 <gen>
Destructible - Open Gate 0001 <gen>
Destructible - Open Gate 0002 <gen>
Destructible - Open Gate 0003 <gen>
close entrences
Events
Player - Player 1 (Red) types a chat message containing -close fort (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -close fort (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -close fort (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -close fort (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -close fort (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -close fort (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -close fort (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -close fort (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Destructible - Close Gate 0000 <gen>
Destructible - Close Gate 0001 <gen>
Destructible - Close Gate 0002 <gen>
Destructible - Close Gate 0003 <gen>
qusest
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Quest - Create a Required quest titled Comands with the description These are the most importan commands for the defence!!!!-open/close hall-open/close barracks-open/close mid-open/close fort , using icon path ReplaceableTextures\CommandButtons\BTNArcaneObservatory.blp
Quest - Create a Optional quest titled How To Win with the description If you are appart of the group called,"The Defenders" then your goal is to destroy every one of the orcs comanders! Same for you too The Attackers! , using icon path ReplaceableTextures\CommandButtons\BTNBansheeRanger.blp
Quest - Create a Optional quest titled The Items with the description This is for Defenders onlyThere are 3 items that your hero starts out with. 1: The item that looks like a scroll. That is the resurection item if your hero dies. 2: There is another item that looks like a human barracks. That is a special item that you hero can use to telaport to a barracks. 3: There is another item that looks like a way gate. That item is basicaly the same thing accept your hero telaports to a way gate that almost every defender has. , using icon path ReplaceableTextures\CommandButtons\BTNControlMagic.blp
Quest - Create a Optional quest titled Extra Gold with the description If you ever see a dinosaur running around, if you kill it you get extra gold! , using icon path ReplaceableTextures\CommandButtons\BTNWispSplode.blp
Quest - Display to playergroup1 the Quest Discovered message: ((|c00FF0000 + You Must Look At The Quest Or You Won't Know What To Do With The Commands!!!!!) + |r)
game text
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Game - Display to (All players) for 20.00 seconds the text: ((|c00FFFF00 + If You Need Any Help Press (F9) Or Click On The Quest Dialog Buttion!) + |r)
Wait 2.00 seconds
Game - Display to (All players) for 20.00 seconds the text: ((|c00FFFF00 + Revised Version Made By: Illidan_2) + |r)
Game - Display to (All players) for 20.00 seconds the text: ((|c00FFFF00 + Created By: Demon-Lord) + |r)
h1
Events
Unit - A unit owned by Player 1 (Red) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to Comander Of Archers
Actions
Set Variable Set T1heros = (T1heros - 1)
Game - Display to (All players) for 20.00 seconds the text: (((Proper name of (Dying unit)) + She was a great part of the team and we will all miss her.) + )
If (T1heros Less than or equal to 0) then do (Run Defeat_t1 <gen> (ignoring conditions)) else do (Do nothing)
h2
Events
Unit - A unit owned by Player 2 (Blue) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to 2nd Comander Of Footmen
Actions
Set Variable Set T1heros = (T1heros - 1)
Game - Display to (All players) for 20.00 seconds the text: (((Proper name of (Dying unit)) + He was a valued member of the team all of alnwick wil miss him.) + )
If (T1heros Less than or equal to 0) then do (Run Defeat_t1 <gen> (ignoring conditions)) else do (Do nothing)
h3
Events
Unit - A unit owned by Player 3 (Teal) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to 2nd Comander Of Archers
Actions
Set Variable Set T1heros = (T1heros - 1)
Game - Display to (All players) for 20.00 seconds the text: (((Proper name of (Dying unit)) + He was the 2nd best archer comander.) + )
If (T1heros Less than or equal to 0) then do (Run Defeat_t1 <gen> (ignoring conditions)) else do (Do nothing)
h4
Events
Unit - A unit owned by Player 4 (Purple) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to Comander Of Knights
Actions
Set Variable Set T1heros = (T1heros - 1)
Game - Display to (All players) for 20.00 seconds the text: (((Proper name of (Dying unit)) + He was the best knight comander of the humans ever sence he was 10.) + )
If (T1heros Less than or equal to 0) then do (Run Defeat_t1 <gen> (ignoring conditions)) else do (Do nothing)
h5
Events
Unit - A unit owned by Player 5 (Yellow) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to King
Actions
Set Variable Set T1heros = (T1heros - 1)
Game - Display to (All players) for 20.00 seconds the text: (((Proper name of (Dying unit)) + The king of the humans has fallin!!!! It's up to the kings adviser 1!!!) + )
If (T1heros Less than or equal to 0) then do (Run Defeat_t1 <gen> (ignoring conditions)) else do (Do nothing)
h6
Events
Unit - A unit owned by Player 6 (Orange) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to Comander Of Footmen
Actions
Set Variable Set T1heros = (T1heros - 1)
Game - Display to (All players) for 20.00 seconds the text: (((Proper name of (Dying unit)) + The finest comander on the Alnwick Defenders team.) + )
If (T1heros Less than or equal to 0) then do (Run Defeat_t1 <gen> (ignoring conditions)) else do (Do nothing)
h7
Events
Unit - A unit owned by Player 7 (Green) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to King Adviser 1
Actions
Set Variable Set T1heros = (T1heros - 1)
Game - Display to (All players) for 20.00 seconds the text: (((Proper name of (Dying unit)) + The first adviser of te king has fallin its up to the 2nd adviser to take over!!!) + )
If (T1heros Less than or equal to 0) then do (Run Defeat_t1 <gen> (ignoring conditions)) else do (Do nothing)
h8
Events
Unit - A unit owned by Player 8 (Pink) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to King Adviser 2
Actions
Set Variable Set T1heros = (T1heros - 1)
Game - Display to (All players) for 20.00 seconds the text: (((Proper name of (Dying unit)) + The Kings 2nd adviser has Fallin! Its up to the other heros to defend the human race!!!) + )
If (T1heros Less than or equal to 0) then do (Run Defeat_t1 <gen> (ignoring conditions)) else do (Do nothing)
Defeat t1
Events
Conditions
Actions
Set Variable Set defeat = "true"
Player Group - Pick every player in playergroup1 and do (Defeat (Picked player) with the message: You Pitafull Human!)
Player Group - Pick every player in playergroup2 and do (Victory (Picked player) (Show dialogs, Show scores))
h9
Events
Unit - A unit owned by Player 9 (Gray) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to Comander Of Archers
Actions
Set Variable Set T2heros = (T2heros - 1)
Game - Display to (All players) for 20.00 seconds the text: (((Proper name of (Dying unit)) + The best orc archer you can find has fallin!) + )
If (T2heros Less than or equal to 0) then do (Run Defeat_t2 <gen> (ignoring conditions)) else do (Do nothing)
h10
Events
Unit - A unit owned by Player 10 (Light Blue) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to Comander Of Trolls
Actions
Set Variable Set T2heros = (T2heros - 1)
Game - Display to (All players) for 20.00 seconds the text: (((Proper name of (Dying unit)) + Has fallin!!! But dont his death make it the end for all of the orcs.) + )
If (T2heros Less than or equal to 0) then do (Run Defeat_t2 <gen> (ignoring conditions)) else do (Do nothing)
h11
Events
Unit - A unit owned by Player 11 (Dark Green) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to Comander Of Doom Guards
Actions
Set Variable Set T2heros = (T2heros - 1)
Game - Display to (All players) for 20.00 seconds the text: (((Proper name of (Dying unit)) + Has fallin!!! He was the greatest demon to work for the orcs.) + )
If (T2heros Less than or equal to 0) then do (Run Defeat_t2 <gen> (ignoring conditions)) else do (Do nothing)
h11 Copy
Events
Unit - A unit owned by Player 12 (Brown) . Dies
Conditions
(Unit-type of (Dying unit)) Equal to Comander Of Knights
Actions
Set Variable Set T2heros = (T2heros - 1)
Game - Display to (All players) for 20.00 seconds the text: (((Proper name of (Dying unit)) + Has fallin!!! The Greatest fighter of the orcs has died. This is a great loss for the orcs.) + )
If (T2heros Less than or equal to 0) then do (Run Defeat_t2 <gen> (ignoring conditions)) else do (Do nothing)
Defeat t2
Events
Conditions
Actions
Set Variable Set defeat = "true"
Player Group - Pick every player in playergroup2 and do (Defeat (Picked player) with the message: You Pitafull Orc!)
Player Group - Pick every player in playergroup1 and do (Victory (Picked player) (Show dialogs, Show scores))
spawns
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Psittacosaurs for Neutral Passive at (Center of spawn1 <gen>) facing Default building facing degrees
Unit - Create 1 . Psittacosaurs for Neutral Passive at (Center of spawn2 <gen>) facing Default building facing degrees
Unit - Create 1 . Psittacosaurs for Neutral Passive at (Center of spawn3 <gen>) facing Default building facing degrees
Unit - Create 1 . Psittacosaurs for Neutral Passive at (Center of spawn4 <gen>) facing Default building facing degrees
the extra gold
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Psittacosaurs
Actions
Player - Add 20 to (Owner of (Killing unit)) . Current gold
Special Effect - Create a special effect at (Position of (Dying unit)) using UI\Feedback\GoldCredit\GoldCredit.mdl
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.