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
Humanity Vs Naga Updated v.4.w3x
Variables
Initialization
Melee Initialization
Heroes Naga
Quest Menu
Catapult
Limit heroes
Flame Strike
Catapult Destroy
Mana OverLoad
leaderboard
remove
Blues gold and wood
testing them
Give up
Die
Summon
Die Copy
Summon Copy
ifthenelse
Tell over again
Naga never base killers
Remember
catapult check
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
FS
location
No
Unitarray
unit
Yes
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
Heroes Naga
Events
Map initialization
Conditions
Actions
Player - Limit training of Naga OverLord to 1 for Player 1 (Red)
Player - Limit training of Aron DeathMage's Captain to 1 for Player 1 (Red)
Player - Limit training of Coral Bed to 1 for Player 1 (Red)
Player - Limit training of Heroes to 0 for Player 1 (Red)
Quest Menu
Events
Map initialization
Conditions
Actions
Quest - Create a Required quest titled Game with the description Humans: Destroy Naga BaseNaga: Destroy all 5 Human BasesHumans must use strategy and teamwork... It's the ONLY way to win. , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Create a Required quest titled Game #2 with the description Blue has only got heroes, no units. That's why he is the one to have 1.000.000 gold and wood...He should give it to allys to help them build faster. , using icon path ReplaceableTextures\CommandButtons\BTNStormBolt.blp
Quest - Create a Required quest titled Naga with the description Naga, never let any of your units cross the dark terrainIt's an anti-rush.You can only enter with heroes. , using icon path Loading Screen LS-OL512x512.blp
Quest - Create a Optional quest titled Bug? with the description Report any Bug to my Battle Net Account Dark_Lord_12 , using icon path ReplaceableTextures\CommandButtons\BTNSpy.blp
Catapult
Events
Unit - A unit enters Catapult_summon_limit <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Catapult
Actions
Game - Display to (All players) for 15.00 seconds the text: ((Name of Player 1 (Red)) + Has now got a Catapult !!!)
Game - Display to (All players) for 15.00 seconds the text: Beware Humans The Catapults Powers are not taken easely !!!
Limit heroes
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Limit training of Paladin to 1 for (Picked player)
Player - Limit training of Archmage to 1 for (Picked player)
Player - Limit training of Mountain King to 1 for (Picked player)
Player - Limit training of Blood Mage to 1 for (Picked player)
Player - Limit training of Lord Arthas to 1 for (Picked player)
Flame Strike
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Flame Strike
Actions
Unit - Pause (Casting unit)
Set Variable Set FS = (Position of (Casting unit))
Wait 0.50 seconds
Special Effect - Create a special effect at (FS offset by 200.00 towards 90.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 200.00 towards 270.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 200.00 towards 360.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 200.00 towards 180.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
-------- --------
Special Effect - Create a special effect at (FS offset by 400.00 towards 90.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 400.00 towards 270.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 400.00 towards 360.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 400.00 towards 180.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
-------- --------
Special Effect - Create a special effect at (FS offset by 600.00 towards 90.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 600.00 towards 270.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 600.00 towards 360.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 600.00 towards 180.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.30 seconds
Unit Group - Pick every unit in (Units within 750.00 of FS matching ((Matching unit) Not equal to (Casting unit)).) and do (Actions)
Loop - Actions
Unit - Cause (Casting unit) to damage (Picked unit) , dealing 200.00 damage of attack type Chaos and damage type Universal
Wait 2.50 seconds
Special Effect - Create a special effect at (FS offset by 200.00 towards 45.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 200.00 towards 135.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 200.00 towards 225.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 200.00 towards 315.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
-------- --------
Special Effect - Create a special effect at (FS offset by 400.00 towards 45.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 400.00 towards 135.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 400.00 towards 225.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 400.00 towards 315.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
-------- --------
Special Effect - Create a special effect at (FS offset by 600.00 towards 45.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 600.00 towards 135.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 600.00 towards 225.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Special Effect - Create a special effect at (FS offset by 600.00 towards 315.00 degrees.) using Abilities\Spells\Human\FlameStrike\FlameStrike1.mdl
Wait 0.30 seconds
Unit Group - Pick every unit in (Units within 750.00 of FS matching ((Matching unit) Not equal to (Casting unit)).) and do (Actions)
Loop - Actions
Unit - Cause (Casting unit) to damage (Picked unit) , dealing 200.00 damage of attack type Chaos and damage type Universal
Wait 0.30 seconds
Unit - Unpause (Casting unit)
Custom script: set udg_FS = null
Catapult Destroy
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Catapult Destroy
Actions
Wait 1.00 seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Target unit of ability being cast)) Equal to Catapult
Then - Actions
Unit - Kill (Target unit of ability being cast)
Else - Actions
Do nothing
Mana OverLoad
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Mana OverLoad
Actions
Wait 1.00 seconds
Unit - Kill (Target unit of ability being cast)
leaderboard
Events
Time - Elapsed game time is 1.50 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Active Players
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Leaderboard - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0
remove
Events
Player - Player 1 (Red) leaves the game
Player - Player 2 (Blue) leaves the game
Player - Player 3 (Teal) leaves the game
Player - Player 4 (Purple) leaves the game
Player - Player 5 (Yellow) leaves the game
Player - Player 6 (Orange) leaves the game
Player - Player 7 (Green) leaves the game
Conditions
Actions
Leaderboard - Remove (Triggering player) from (Last created leaderboard) .
Game - Display to (All players) for 10.00 seconds the text: ((Name of (Triggering player)) + Has left the game)
Blues gold and wood
Events
Map initialization
Conditions
Actions
Player - Set Player 2 (Blue) . Current gold to 1000000000
Player - Set Player 2 (Blue) . Current lumber to 1000000000
testing them
Events
Map initialization
Conditions
Actions
Wait 10.00 seconds
Game - Display to (All players) for 30.00 seconds the text: I will tell every player what he is in the game:
Wait 5.00 seconds
Game - Display to (All players) for 15.00 seconds the text: Player 1(Red): Is Naga; he must destroy all the humans to win
Wait 1.00 seconds
Game - Display to (All players) for 15.00 seconds the text: Player 2(Blue) Is the controler of Arthas
Wait 1.00 seconds
Game - Display to (All players) for 15.00 seconds the text: Player 3(Teal) Is the controler of a normal Human Base
Wait 1.00 seconds
Game - Display to (All players) for 15.00 seconds the text: Player 4Purple) Is the controler of a normal Human Base
Wait 1.00 seconds
Game - Display to (All players) for 15.00 seconds the text: Player 5(Yellow) Is the controler of a normal Human Base
Wait 1.00 seconds
Game - Display to (All players) for 15.00 seconds the text: Player 6(Orange) Is the controler of a normal Human Base
Wait 1.00 seconds
Game - Display to (All players) for 15.00 seconds the text: Player 7(Green) Is the controler of a normal Human Base
Wait 30.00 seconds
Give up
Events
Player - Player 1 (Red) types a chat message containing -Give Up (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -Give Up (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -Give Up (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -Give Up (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -Give Up (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -Give Up (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -Give Up (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Unit Group - Pick every unit in (Units owned by (Triggering player).) and do (Actions)
Loop - Actions
Custom script: call KillUnit (GetEnumUnit())
Custom script: // Under This Text The Player Gets Defeated....//
Game - Defeat (Triggering player) with the message: You have Gived Up...
Custom script: // You Should NEVER use this, you will get a Defeat for an "Else"
Die
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Naga OverLord
Actions
Sound - Play DemonHunterDeathAlternate1 <gen>
Game - Display to (All players) for 10.00 seconds the text: Aron DeathMage has Fallen
Summon
Events
Unit - A unit enters (Entire map)
Conditions
(Unit-type of (Entering unit)) Equal to Naga OverLord
Actions
Game - Display to (All players) for 10.00 seconds the text: Aron DeathMage Has Ben Summoned/Revived
Die Copy
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Lord Arthas
Actions
Game - Display to (All players) for 10.00 seconds the text: Lord Arthas Has fallen
Summon Copy
Events
Unit - A unit enters (Entire map)
Conditions
(Unit-type of (Entering unit)) Equal to Lord Arthas
Actions
Game - Display to (All players) for 10.00 seconds the text: Lord Arthas has been Revived
ifthenelse
Events
Unit - A unit Dies
Conditions
((Unit-type of (Dying unit)) Equal to Lord Arthas) and ((Unit-type of (Killing unit)) Equal to Naga OverLord)
Actions
Wait 1.00 seconds
Sound - Play N07Archimonde26 <gen>
Tell over again
Events
Map initialization
Conditions
Actions
Wait 60.00 seconds
Game - Display to (All players) for 20.00 seconds the text: I will tell all players some Hints to wining....
Wait 5.00 seconds
Game - Display to (All players) for 20.00 seconds the text: Blue has 1.000.000 gold and wood as you saw by now.He has it so he can help his allys...
Wait 25.00 seconds
Game - Display to (All players) for 60.00 seconds the text: Player 2(Blue) MUST give gold and wood to allys, else they will hardly be able to defeat Naga.All Players (not Red) can go get any race hero (orc, night elf, undead) in the costume tavern.The Tavern Is Located on the map, and it is the nearest to the human bases...Some of the humans should get a Dark Ranger hero from the tavern.
Naga never base killers
Events
Unit - A unit enters Naga_Forbiden <gen>
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
((Entering unit) is A Hero) Equal to False
Then - Actions
Custom script: call KillUnit (GetEnteringUnit())
Else - Actions
Do nothing
Remember
Events
Time - Every 60.00 seconds of game time
Conditions
Actions
Game - Display to (All players) for 20.00 seconds the text: |cffff0000 Naga !!! Remember if any of your units cross the black terrain, the unit will die.This is a anti-rush.You must destroy all bases with heroes...Also Catapults can only be build within the region of the 4 sun wells, if outside the catapult is destroyed...
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.