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
Naval Wars 1.0.w3x
Variables
Initialization
Melee Initialization
Camera Distance
Far Camera
Close Camera
Medium Camera
Set Start Camera
Player Income
Income
Spawning Ships
Player 1 Spawn
Player 2 Spawn
Player 3 Spawn
Player 4 Spawn
Player 5 Spawn
Player 6 Spawn
Player 7 Spawn
Player 8 Spawn
Player 9 Spawn
Player 10 Spawn
Player 11 Spawn
Player 12 Spawn
Neutral Hostile Spawn
No Players
No Player 1
No Player 2
No Player 3
No Player 4
No Player 5
No Player 6
No Player 7
No Player 8
No Player 9
No Player 10
No Player 11
No Player 12
Hostile Attack
Player enters Left Center then attack
Player enters Center then attack
Player enters Right Center then attack
Defeat Conditions
Player 1
Player 2
Player 3
Player 4
Player 5
Player 6
Player 7
Player 8
Player 9
Player 10
Player 11
Player 12
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
HeroUnit
unitcode
No
O002
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 - Remove creeps and critters from used start locations (for all players)
Melee Game - Enforce victory/defeat conditions (for all players)
Player - Turn Gives bounty On for Player 1 (Red)
Player - Turn Gives bounty On for Player 2 (Blue)
Player - Turn Gives bounty On for Player 3 (Teal)
Player - Turn Gives bounty On for Player 4 (Purple)
Player - Turn Gives bounty On for Player 5 (Yellow)
Player - Turn Gives bounty On for Player 6 (Orange)
Player - Turn Gives bounty On for Player 7 (Green)
Player - Turn Gives bounty On for Player 8 (Pink)
Player - Turn Gives bounty On for Player 9 (Gray)
Player - Turn Gives bounty On for Player 10 (Light Blue)
Player - Turn Gives bounty On for Player 11 (Dark Green)
Player - Turn Gives bounty On for Player 12 (Brown)
Player - Set name of Neutral Hostile to Pirates
Far Camera
Events
Player - Player 1 (Red) types a chat message containing -far (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -far (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -far (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -far (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -far (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -far (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -far (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -far (Unexpected type: 'stringnoformat') as An exact match
Player - Player 9 (Gray) types a chat message containing -far (Unexpected type: 'stringnoformat') as An exact match
Player - Player 10 (Light Blue) types a chat message containing -far (Unexpected type: 'stringnoformat') as An exact match
Player - Player 11 (Dark Green) types a chat message containing -far (Unexpected type: 'stringnoformat') as An exact match
Player - Player 12 (Brown) types a chat message containing -far (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Camera - Set (Triggering player) 's camera CAMERA_FIELD_TARGET_DISTANCE (Unexpected type: 'camerafield') to 3200.00 over 1.00 seconds
Close Camera
Events
Player - Player 1 (Red) types a chat message containing -close (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -close (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -close (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -close (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -close (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -close (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -close (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -close (Unexpected type: 'stringnoformat') as An exact match
Player - Player 9 (Gray) types a chat message containing -close (Unexpected type: 'stringnoformat') as An exact match
Player - Player 10 (Light Blue) types a chat message containing -close (Unexpected type: 'stringnoformat') as An exact match
Player - Player 11 (Dark Green) types a chat message containing -close (Unexpected type: 'stringnoformat') as An exact match
Player - Player 12 (Brown) types a chat message containing -close (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Camera - Set (Triggering player) 's camera CAMERA_FIELD_TARGET_DISTANCE (Unexpected type: 'camerafield') to Default camera distance over 1.00 seconds
Medium Camera
Events
Player - Player 1 (Red) types a chat message containing -medium (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -medium (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -medium (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -medium (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -medium (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -medium (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -medium (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -medium (Unexpected type: 'stringnoformat') as An exact match
Player - Player 9 (Gray) types a chat message containing -medium (Unexpected type: 'stringnoformat') as An exact match
Player - Player 10 (Light Blue) types a chat message containing -medium (Unexpected type: 'stringnoformat') as An exact match
Player - Player 11 (Dark Green) types a chat message containing -medium (Unexpected type: 'stringnoformat') as An exact match
Player - Player 12 (Brown) types a chat message containing -medium (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Camera - Set (Triggering player) 's camera CAMERA_FIELD_TARGET_DISTANCE (Unexpected type: 'camerafield') to 2450.00 over 1.00 seconds
Set Start Camera
Events
Map initialization
Conditions
Actions
For each (Integer A) from 1 to 12 , do (Set (Player((Integer A)))'s camera Distance to target to 2450.00 over 0.00 seconds)
Income
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Player - Add 2 to Player 1 (Red) . Current gold
Player - Add 2 to Player 2 (Blue) . Current gold
Player - Add 2 to Player 3 (Teal) . Current gold
Player - Add 2 to Player 4 (Purple) . Current gold
Player - Add 2 to Player 5 (Yellow) . Current gold
Player - Add 2 to Player 6 (Orange) . Current gold
Player - Add 2 to Player 7 (Green) . Current gold
Player - Add 2 to Player 8 (Pink) . Current gold
Player - Add 2 to Player 9 (Gray) . Current gold
Player - Add 2 to Player 10 (Light Blue) . Current gold
Player - Add 2 to Player 11 (Dark Green) . Current gold
Player - Add 2 to Player 12 (Brown) . Current gold
Player 1 Spawn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Small Ship for Player 1 (Red) at (Center of Left <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units owned by Player 1 (Red) of type Small Ship) and do (Order (Picked unit) to Attack-Move To.(Center of Right <gen>))
Player 2 Spawn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Small Ship for Player 2 (Blue) at (Center of Left <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units owned by Player 2 (Blue) of type Small Ship) and do (Order (Picked unit) to Attack-Move To.(Center of Right <gen>))
Player 3 Spawn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Small Ship for Player 3 (Teal) at (Center of Left <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units owned by Player 3 (Teal) of type Small Ship) and do (Order (Picked unit) to Attack-Move To.(Center of Right <gen>))
Player 4 Spawn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Small Ship for Player 4 (Purple) at (Center of Left <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units owned by Player 4 (Purple) of type Small Ship) and do (Order (Picked unit) to Attack-Move To.(Center of Right <gen>))
Player 5 Spawn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Small Ship for Player 5 (Yellow) at (Center of Left <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units owned by Player 5 (Yellow) of type Small Ship) and do (Order (Picked unit) to Attack-Move To.(Center of Right <gen>))
Player 6 Spawn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Small Ship for Player 6 (Orange) at (Center of Left <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units owned by Player 6 (Orange) of type Small Ship) and do (Order (Picked unit) to Attack-Move To.(Center of Right <gen>))
Player 7 Spawn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Small Ship for Player 7 (Green) at (Center of Right <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units owned by Player 7 (Green) of type Small Ship) and do (Order (Picked unit) to Attack-Move To.(Center of Left <gen>))
Player 8 Spawn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Small Ship for Player 8 (Pink) at (Center of Right <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units owned by Player 8 (Pink) of type Small Ship) and do (Order (Picked unit) to Attack-Move To.(Center of Left <gen>))
Player 9 Spawn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Small Ship for Player 9 (Gray) at (Center of Right <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units owned by Player 9 (Gray) of type Small Ship) and do (Order (Picked unit) to Attack-Move To.(Center of Left <gen>))
Player 10 Spawn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Small Ship for Player 10 (Light Blue) at (Center of Right <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units owned by Player 10 (Light Blue) of type Small Ship) and do (Order (Picked unit) to Attack-Move To.(Center of Left <gen>))
Player 11 Spawn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Small Ship for Player 11 (Dark Green) at (Center of Right <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units owned by Player 11 (Dark Green) of type Small Ship) and do (Order (Picked unit) to Attack-Move To.(Center of Left <gen>))
Player 12 Spawn
Events
Time - Every 30.00 seconds of game time
Conditions
Actions
Unit - Create 2 . Small Ship for Player 12 (Brown) at (Center of Right <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units owned by Player 12 (Brown) of type Small Ship) and do (Order (Picked unit) to Attack-Move To.(Center of Left <gen>))
Neutral Hostile Spawn
Events
Time - Every 45.00 seconds of game time
Conditions
Actions
Unit - Create 1 . Pirate Ship for Neutral Hostile at (Center of Top_Left <gen>) facing Default building facing degrees
Unit - Create 1 . Pirate Ship for Neutral Hostile at (Center of Top_Middle <gen>) facing Default building facing degrees
Unit - Create 1 . Pirate Ship for Neutral Hostile at (Center of Top_Right <gen>) facing Default building facing degrees
Unit - Create 1 . Pirate Ship for Neutral Hostile at (Center of Bottom_Left <gen>) facing Default building facing degrees
Unit - Create 1 . Pirate Ship for Neutral Hostile at (Center of Bottom_Middle <gen>) facing Default building facing degrees
Unit - Create 1 . Pirate Ship for Neutral Hostile at (Center of Bottom_Right <gen>) facing Default building facing degrees
No Player 1
Events
Time - Elapsed game time is 0.01 seconds
Conditions
(Player 1 (Red) slot status) Equal to Is unused
Actions
Unit - Remove Shipyard 0002 <gen> from the game
Unit - Remove Town Hall 0028 <gen> from the game
Trigger - Turn off Player_1_Spawn <gen>
No Player 2
Events
Time - Elapsed game time is 0.01 seconds
Conditions
(Player 2 (Blue) slot status) Equal to Is unused
Actions
Unit - Remove Shipyard 0006 <gen> from the game
Unit - Remove Town Hall 0029 <gen> from the game
Trigger - Turn off Player_2_Spawn <gen>
No Player 3
Events
Time - Elapsed game time is 0.01 seconds
Conditions
(Player 3 (Teal) slot status) Equal to Is unused
Actions
Unit - Remove Shipyard 0007 <gen> from the game
Unit - Remove Town Hall 0030 <gen> from the game
Trigger - Turn off Player_3_Spawn <gen>
No Player 4
Events
Time - Elapsed game time is 0.01 seconds
Conditions
(Player 4 (Purple) slot status) Equal to Is unused
Actions
Unit - Remove Shipyard 0003 <gen> from the game
Unit - Remove Town Hall 0031 <gen> from the game
Trigger - Turn off Player_4_Spawn <gen>
No Player 5
Events
Time - Elapsed game time is 0.01 seconds
Conditions
(Player 5 (Yellow) slot status) Equal to Is unused
Actions
Unit - Remove Shipyard 0008 <gen> from the game
Unit - Remove Town Hall 0032 <gen> from the game
Trigger - Turn off Player_5_Spawn <gen>
No Player 6
Events
Time - Elapsed game time is 0.01 seconds
Conditions
(Player 6 (Orange) slot status) Equal to Is unused
Actions
Unit - Remove Shipyard 0009 <gen> from the game
Unit - Remove Town Hall 0033 <gen> from the game
Trigger - Turn off Player_6_Spawn <gen>
No Player 7
Events
Time - Elapsed game time is 0.01 seconds
Conditions
(Player 7 (Green) slot status) Equal to Is unused
Actions
Unit - Remove Shipyard 0011 <gen> from the game
Unit - Remove Town Hall 0034 <gen> from the game
Trigger - Turn off Player_7_Spawn <gen>
No Player 8
Events
Time - Elapsed game time is 0.01 seconds
Conditions
(Player 8 (Pink) slot status) Equal to Is unused
Actions
Unit - Remove Shipyard 0010 <gen> from the game
Unit - Remove Town Hall 0035 <gen> from the game
Trigger - Turn off Player_8_Spawn <gen>
No Player 9
Events
Time - Elapsed game time is 0.01 seconds
Conditions
(Player 9 (Gray) slot status) Equal to Is unused
Actions
Unit - Remove Shipyard 0004 <gen> from the game
Unit - Remove Town Hall 0036 <gen> from the game
Trigger - Turn off Player_9_Spawn <gen>
No Player 10
Events
Time - Elapsed game time is 0.01 seconds
Conditions
(Player 10 (Light Blue) slot status) Equal to Is unused
Actions
Unit - Remove Shipyard 0013 <gen> from the game
Unit - Remove Town Hall 0037 <gen> from the game
Trigger - Turn off Player_10_Spawn <gen>
No Player 11
Events
Time - Elapsed game time is 0.01 seconds
Conditions
(Player 11 (Dark Green) slot status) Equal to Is unused
Actions
Unit - Remove Shipyard 0012 <gen> from the game
Unit - Remove Town Hall 0038 <gen> from the game
Trigger - Turn off Player_11_Spawn <gen>
No Player 12
Events
Time - Elapsed game time is 0.01 seconds
Conditions
(Player 12 (Brown) slot status) Equal to Is unused
Actions
Unit - Remove Shipyard 0005 <gen> from the game
Unit - Remove Town Hall 0039 <gen> from the game
Trigger - Turn off Player_12_Spawn <gen>
Player enters Left Center then attack
Events
Unit - A unit enters Left_Center <gen>
Conditions
(Owner of (Entering unit)) Not equal to Neutral Hostile
Actions
Unit Group - Pick every unit in (Units in Top_Left <gen> owned by Neutral Hostile) and do (Order (Picked unit) to Attack-Move To.(Center of Left_Center <gen>))
Unit Group - Pick every unit in (Units in Bottom_Left <gen> owned by Neutral Hostile) and do (Order (Picked unit) to Attack-Move To.(Center of Left_Center <gen>))
Player enters Center then attack
Events
Unit - A unit enters Center <gen>
Conditions
(Owner of (Entering unit)) Not equal to Neutral Hostile
Actions
Unit Group - Pick every unit in (Units in Top_Middle <gen> owned by Neutral Hostile) and do (Order (Picked unit) to Attack-Move To.(Center of Center <gen>))
Unit Group - Pick every unit in (Units in Bottom_Middle <gen> owned by Neutral Hostile) and do (Order (Picked unit) to Attack-Move To.(Center of Center <gen>))
Player enters Right Center then attack
Events
Unit - A unit enters Right_Center <gen>
Conditions
(Owner of (Entering unit)) Not equal to Neutral Hostile
Actions
Unit Group - Pick every unit in (Units in Top_Right <gen> owned by Neutral Hostile) and do (Order (Picked unit) to Attack-Move To.(Center of Right_Center <gen>))
Unit Group - Pick every unit in (Units in Bottom_Right <gen> owned by Neutral Hostile) and do (Order (Picked unit) to Attack-Move To.(Center of Right_Center <gen>))
Player 1
Events
Unit - Shipyard 0002 <gen> Dies
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: |CFFFF0303Your Shipyard was Destroyed!r
Unit - Remove Town Hall 0028 <gen> from the game
Trigger - Turn off Player_1_Spawn <gen>
Player 2
Events
Unit - Shipyard 0006 <gen> Dies
Conditions
Actions
Game - Defeat Player 2 (Blue) with the message: |CFFFF0303Your Shipyard was Destroyed!r
Unit - Remove Town Hall 0029 <gen> from the game
Trigger - Turn off Player_2_Spawn <gen>
Player 3
Events
Unit - Shipyard 0007 <gen> Dies
Conditions
Actions
Game - Defeat Player 3 (Teal) with the message: |CFFFF0303Your Shipyard was Destroyed!r
Unit - Remove Town Hall 0030 <gen> from the game
Trigger - Turn off Player_3_Spawn <gen>
Player 4
Events
Unit - Shipyard 0003 <gen> Dies
Conditions
Actions
Game - Defeat Player 4 (Purple) with the message: |CFFFF0303Your Shipyard was Destroyed!r
Unit - Remove Town Hall 0031 <gen> from the game
Trigger - Turn off Player_4_Spawn <gen>
Player 5
Events
Unit - Shipyard 0008 <gen> Dies
Conditions
Actions
Game - Defeat Player 5 (Yellow) with the message: |CFFFF0303Your Shipyard was Destroyed!r
Unit - Remove Town Hall 0032 <gen> from the game
Trigger - Turn off Player_5_Spawn <gen>
Player 6
Events
Unit - Shipyard 0009 <gen> Dies
Conditions
Actions
Game - Defeat Player 6 (Orange) with the message: |CFFFF0303Your Shipyard was Destroyed!r
Unit - Remove Town Hall 0033 <gen> from the game
Trigger - Turn off Player_6_Spawn <gen>
Player 7
Events
Unit - Shipyard 0011 <gen> Dies
Conditions
Actions
Game - Defeat Player 7 (Green) with the message: |CFFFF0303Your Shipyard was Destroyed!r
Unit - Remove Town Hall 0034 <gen> from the game
Trigger - Turn off Player_7_Spawn <gen>
Player 8
Events
Unit - Shipyard 0010 <gen> Dies
Conditions
Actions
Game - Defeat Player 8 (Pink) with the message: |CFFFF0303Your Shipyard was Destroyed!r
Unit - Remove Town Hall 0035 <gen> from the game
Trigger - Turn off Player_8_Spawn <gen>
Player 9
Events
Unit - Shipyard 0004 <gen> Dies
Conditions
Actions
Game - Defeat Player 9 (Gray) with the message: |CFFFF0303Your Shipyard was Destroyed!r
Unit - Remove Town Hall 0036 <gen> from the game
Trigger - Turn off Player_9_Spawn <gen>
Player 10
Events
Unit - Shipyard 0013 <gen> Dies
Conditions
Actions
Game - Defeat Player 10 (Light Blue) with the message: |CFFFF0303Your Shipyard was Destroyed!r
Unit - Remove Town Hall 0037 <gen> from the game
Trigger - Turn off Player_10_Spawn <gen>
Player 11
Events
Unit - Shipyard 0012 <gen> Dies
Conditions
Actions
Game - Defeat Player 11 (Dark Green) with the message: |CFFFF0303Your Shipyard was Destroyed!r
Unit - Remove Town Hall 0038 <gen> from the game
Trigger - Turn off Player_11_Spawn <gen>
Player 12
Events
Unit - Shipyard 0005 <gen> Dies
Conditions
Actions
Game - Defeat Player 12 (Brown) with the message: |CFFFF0303Your Shipyard was Destroyed!r
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.