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
(4)Naga Wars.w3x
Variables
Initialization
Melee Initialization
Gold Mines
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
Sloc
location
No
Temp
location
No
Default melee game initialization for all players
Melee Initialization
Events
Map initialization
Conditions
Actions
Unit Group - Pick every unit in (Units of type Mur'gul Spirit) and do (Change (Picked unit)'s vertex coloring to (100%, 100%, 100%) with 60.00% transparency)
Melee Game - Use melee time of day (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Picked player)) Equal to Human
Then - Actions
Unit - Create 1 . Temple of Tides for (Picked player) at ((Picked player) start location) facing Default building facing degrees
Set Variable Set Sloc = ((Picked player) start location)
For each (Integer A) from 1 to 5 , do (Actions)
Loop - Actions
Set Variable Set Temp = (Sloc offset by 300.00 towards (22.50 x (Real((Integer A)))) degrees.)
Unit - Create 1 . Mur'gul Slave for (Picked player) at Temp facing Default building facing degrees
Custom script: call RemoveLocation(udg_Temp)
Unit - Create 1 . Sea Witch for (Picked player) at (Sloc offset by 150.00 towards 180.00 degrees.) facing Default building facing degrees
AI - Start melee AI script for (Picked player) : war3mapImported\Naga.ai (Unexpected type: 'aiscript')
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Picked player)) Equal to Orc
Then - Actions
Unit - Create 1 . Temple of Tides (Azshara) for (Picked player) at ((Picked player) start location) facing Default building facing degrees
Set Variable Set Sloc = ((Picked player) start location)
For each (Integer A) from 1 to 5 , do (Actions)
Loop - Actions
Set Variable Set Temp = (Sloc offset by 300.00 towards (22.50 x (Real((Integer A)))) degrees.)
Unit - Create 1 . Mur'gul Slave (Azshara) for (Picked player) at Temp facing Default building facing degrees
Custom script: call RemoveLocation(udg_Temp)
Unit - Create 1 . Sea Witch for (Picked player) at (Sloc offset by 150.00 towards 180.00 degrees.) facing Default building facing degrees
AI - Start melee AI script for (Picked player) : war3mapImported\Azshara.ai (Unexpected type: 'aiscript')
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Picked player)) Equal to Undead
Then - Actions
Unit - Create 1 . Temple of Tides (Naga Tribe) for (Picked player) at ((Picked player) start location) facing Default building facing degrees
Set Variable Set Sloc = ((Picked player) start location)
For each (Integer A) from 1 to 5 , do (Actions)
Loop - Actions
Set Variable Set Temp = (Sloc offset by 300.00 towards (22.50 x (Real((Integer A)))) degrees.)
Unit - Create 1 . Mur'gul Slave (Naga Tribe) for (Picked player) at Temp facing Default building facing degrees
Custom script: call RemoveLocation(udg_Temp)
Unit - Create 1 . Sea Witch for (Picked player) at (Sloc offset by 150.00 towards 180.00 degrees.) facing Default building facing degrees
AI - Start melee AI script for (Picked player) : war3mapImported\NagaTribe.ai (Unexpected type: 'aiscript')
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Race of (Picked player)) Equal to Night Elf
Then - Actions
Unit - Create 1 . Temple of Tides (Murgul Tribe) for (Picked player) at ((Picked player) start location) facing Default building facing degrees
Set Variable Set Sloc = ((Picked player) start location)
For each (Integer A) from 1 to 5 , do (Actions)
Loop - Actions
Set Variable Set Temp = (Sloc offset by 300.00 towards (22.50 x (Real((Integer A)))) degrees.)
Unit - Create 1 . Mur'gul Slave (Murgul Tribe) for (Picked player) at Temp facing Default building facing degrees
Custom script: call RemoveLocation(udg_Temp)
Unit - Create 1 . Sea Witch for (Picked player) at (Sloc offset by 150.00 towards 180.00 degrees.) facing Default building facing degrees
AI - Start melee AI script for (Picked player) : war3mapImported\Murgul.ai (Unexpected type: 'aiscript')
Else - Actions
Melee Game - Enforce victory/defeat conditions (for all players)
Gold Mines
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units of type Gold Mine) and do (Set (Picked unit) to 12500 gold)
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.