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
Forest WarsV1.4.2.w3x
Variables
Initialization
Anim
Leaderbord
Leaderbordkills
Names
P1
P2
Rain
Rain
Whelp
heeelp
Race-select
Dialog
Human
NightElf
Orc
Undead
Naga
Demon
AI
AI1
AI2
Oceansoak The Drowned Spells
Web of Dust
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
Demon
button
No
Human
button
No
Naga
button
No
NightElf
button
No
Orc
button
No
Race
dialog
No
Undead
button
No
Anim
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Animation - Play the stand third animation for all doodads of type YOsw (Unexpected type: 'doodadcode') within (Playable map area) .
Leaderbord
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Leaderboard - Create a leaderboard for (All players) titled Kills
Leaderboard - Add Player 1 (Red) to (Last created leaderboard) with label Player 1 Kills and value 0
Leaderboard - Add Player 2 (Blue) to (Last created leaderboard) with label Player 2 Kills and value 0
Leaderbordkills
Events
Unit - A unit Dies
Conditions
Actions
Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to ((Owner of (Killing unit)) Units Killed)
Leaderboard - Sort (Last created leaderboard) by Value in Descending order
P1
Events
Player - Player 1 (Red) types a chat message containing (-name + ) as A substring
Conditions
Actions
Player - Set name of Player 1 (Red) to (Substring((Entered chat string), 6, 100))
Game - Display to (All players) the text: (Player 1 + ( Changed his name to + (Name of (Triggering player))))
P2
Events
Player - Player 2 (Blue) types a chat message containing (-name + ) as A substring
Conditions
Actions
Player - Set name of Player 2 (Blue) to (Substring((Entered chat string), 6, 100))
Game - Display to (All players) the text: (Player 2 + ( Changed his name to + (Name of (Triggering player))))
Rain
Events
Time - Elapsed game time is 160.00 seconds
Conditions
Actions
Environment - Create at (Playable map area) the weather effect Ashenvale Rain (Light)
Environment - Turn (Last created weather effect) On
Wait 60.00 seconds
Environment - Remove (Last created weather effect)
Environment - Create at (Playable map area) the weather effect Ashenvale Rain (Heavy)
Environment - Turn (Last created weather effect) On
Wait 100.00 seconds
Environment - Remove (Last created weather effect)
Trigger - Turn off (This trigger)
Wait 2 seconds
Trigger - Run (This trigger) (ignoring conditions)
heeelp
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Quest - Create a Optional quest titled Help with the description Use -name <your name> to set the name of player. , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Dialog
Events
Time - Elapsed game time is 0.01 seconds
Conditions
Actions
Dialog - Create a dialog button for Race labelled Human
Set Variable Set Human = (Last created dialog Button)
Dialog - Create a dialog button for Race labelled NightElf
Set Variable Set NightElf = (Last created dialog Button)
Dialog - Create a dialog button for Race labelled Orc
Set Variable Set Orc = (Last created dialog Button)
Dialog - Create a dialog button for Race labelled Undead
Set Variable Set Undead = (Last created dialog Button)
Dialog - Create a dialog button for Race labelled Naga
Set Variable Set Naga = (Last created dialog Button)
Dialog - Create a dialog button for Race labelled Demon
Set Variable Set Demon = (Last created dialog Button)
Player Group - Pick every player in (All players controlled by a User player) and do (Show Race for (Picked player))
Human
Events
Dialog - A dialog button is clicked for Race
Conditions
(Clicked dialog button) Equal to Human
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 - Create Human starting units for (Triggering player) at ((Triggering player) start location) ( Include Heroes)
NightElf
Events
Dialog - A dialog button is clicked for Race
Conditions
(Clicked dialog button) Equal to NightElf
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 - Create Night Elf starting units for (Triggering player) at ((Triggering player) start location) ( Include Heroes)
Orc
Events
Dialog - A dialog button is clicked for Race
Conditions
(Clicked dialog button) Equal to Orc
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 - Create Undead starting units for (Triggering player) at ((Triggering player) start location) ( Include Heroes)
Undead
Events
Dialog - A dialog button is clicked for Race
Conditions
(Clicked dialog button) Equal to Undead
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 - Create Undead starting units for (Triggering player) at ((Triggering player) start location) ( Include Heroes)
Naga
Events
Dialog - A dialog button is clicked for Race
Conditions
(Clicked dialog button) Equal to Naga
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)
Unit - Create 1 . |cff00ffffTemple of Tides for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Unit - Create 5 . |cff00ffffMur'gul Slave for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Player - Limit training of |cff00ffffOshaiggogtha to 1 for (Triggering player)
Player - Limit training of |cff00ffffEkigush to 1 for (Triggering player)
Player - Limit training of |cff00ffffVamon to 1 for (Triggering player)
Player - Limit training of |cff00ffffNaga Sea Witch |cff00ffff to 1 for (Triggering player)
Player - Limit training of Heroes to 3 for (Triggering player)
Demon
Events
Dialog - A dialog button is clicked for Race
Conditions
(Clicked dialog button) Equal to Demon
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)
Unit - Create 1 . |cffff0000Evilspawn for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Unit - Create 5 . |cffff0000Kekr-elo for (Triggering player) at ((Triggering player) start location) facing Default building facing degrees
Player - Limit training of |cffff0000Yithag-nthuta to 1 for (Triggering player)
Player - Limit training of |cffff0000Sacyazshu The Fallen to 1 for (Triggering player)
Player - Limit training of |cffff0000Lord of The Bones to 1 for (Triggering player)
Player - Limit training of |cffff0000Warlock to 1 for (Triggering player)
Player - Limit training of Heroes to 3 for (Triggering player)
AI1
Events
Time - Elapsed game time is 0.00 seconds
Conditions
(Player 1 (Red) controller) Equal to Computer
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 - Create (Race of Player 1 (Red)) starting units for Player 1 (Red) at (Player 1 (Red) start location) ( Include Heroes)
Melee Game - Run melee AI scripts (for computer players)
AI2
Events
Time - Elapsed game time is 0.00 seconds
Conditions
(Player 2 (Blue) controller) Equal to Computer
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 - Create (Race of Player 2 (Blue)) starting units for Player 2 (Blue) at (Player 2 (Blue) start location) ( Include Heroes)
Melee Game - Run melee AI scripts (for computer players)
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.