🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
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
Colonization .05a.w3x
Variables
Initialization
leavers
Quests
player names
capture city
unally
ally
neutral
Init
income
timer
camera
near
medium
far
camera
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
Timer
timer
No
leavers
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
Player - Player 8 (Pink) leaves the game
Player - Player 9 (Gray) leaves the game
Player - Player 10 (Light Blue) leaves the game
Player - Player 11 (Dark Green) leaves the game
Conditions
Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + has left the game)
Quests
Events
Map initialization
Conditions
Actions
Quest - Create a Required quest titled allying/unallying with the description To ally type -ally color to unally type -unally color to neutral (ally no vision) type -neutral color , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Create a Required quest titled credits with the description By: CocoBATRAY , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
Quest - Create a Required quest titled Camera with the description -far to zoom out-medium to go to normal cam-near to zoom in , using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
player names
Events
Map initialization
Conditions
Actions
Player - Set name of Player 1 (Red) to ((France) + (Name of Player 1 (Red)))
Player - Set name of Player 2 (Blue) to ((Spain) + (Name of Player 2 (Blue)))
Player - Set name of Player 3 (Teal) to ((Netherlands & Belgium) + (Name of Player 3 (Teal)))
Player - Set name of Player 4 (Purple) to ((Germany) + (Name of Player 4 (Purple)))
Player - Set name of Player 5 (Yellow) to ((Russia) + (Name of Player 5 (Yellow)))
Player - Set name of Player 6 (Orange) to (Redskins + (Name of Player 6 (Orange)))
Player - Set name of Player 7 (Green) to ((Scandanvia) + (Name of Player 7 (Green)))
Player - Set name of Player 8 (Pink) to ((Portugal) + (Name of Player 8 (Pink)))
Player - Set name of Player 9 (Gray) to ((Turkey) + (Name of Player 9 (Gray)))
Player - Set name of Player 10 (Light Blue) to ((Great Britan) + (Name of Player 10 (Light Blue)))
Player - Set name of Player 11 (Dark Green) to ((Italy + (Name of Player 11 (Dark Green)))
capture city
Events
Unit - A unit Is attacked
Conditions
(Life of (Attacked unit)) Less than or equal to 1000.00
(Unit-type of (Attacked unit)) Equal to City
Actions
Unit - Set life of (Triggering unit) to (Max life of (Attacked unit))
Unit - Change ownership of (Attacked unit) to (Owner of (Attacking unit)) and Change color
unally
Events
Player - Player 1 (Red) types a chat message containing -unally (Unexpected type: 'stringnoformat') as A substring
Player - Player 2 (Blue) types a chat message containing -unally (Unexpected type: 'stringnoformat') as A substring
Player - Player 3 (Teal) types a chat message containing -unally (Unexpected type: 'stringnoformat') as A substring
Player - Player 4 (Purple) types a chat message containing -unally (Unexpected type: 'stringnoformat') as A substring
Player - Player 5 (Yellow) types a chat message containing -unally (Unexpected type: 'stringnoformat') as A substring
Player - Player 6 (Orange) types a chat message containing -unally (Unexpected type: 'stringnoformat') as A substring
Player - Player 7 (Green) types a chat message containing -unally (Unexpected type: 'stringnoformat') as A substring
Player - Player 8 (Pink) types a chat message containing -unally (Unexpected type: 'stringnoformat') as A substring
Player - Player 9 (Gray) types a chat message containing -unally (Unexpected type: 'stringnoformat') as A substring
Player - Player 10 (Light Blue) types a chat message containing -unally (Unexpected type: 'stringnoformat') as A substring
Player - Player 11 (Dark Green) types a chat message containing -unally (Unexpected type: 'stringnoformat') as A substring
Player - Player 12 (Brown) types a chat message containing -unally (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
If ((Entered chat string) Equal to -unally red) then do (Make (Triggering player) treat Player 1 (Red) as an Enemy) else do (Do nothing)
If ((Entered chat string) Equal to -unally blue) then do (Make (Triggering player) treat Player 2 (Blue) as an Enemy) else do (Do nothing)
If ((Entered chat string) Equal to -unally teal) then do (Make (Triggering player) treat Player 3 (Teal) as an Enemy) else do (Do nothing)
If ((Entered chat string) Equal to -unally purple) then do (Make (Triggering player) treat Player 4 (Purple) as an Enemy) else do (Do nothing)
If ((Entered chat string) Equal to -unally yellow) then do (Make (Triggering player) treat Player 5 (Yellow) as an Enemy) else do (Do nothing)
If ((Entered chat string) Equal to -unally orange) then do (Make (Triggering player) treat Player 6 (Orange) as an Enemy) else do (Do nothing)
If ((Entered chat string) Equal to -unally green) then do (Make (Triggering player) treat Player 7 (Green) as an Enemy) else do (Do nothing)
If ((Entered chat string) Equal to -unally pink) then do (Make (Triggering player) treat Player 8 (Pink) as an Enemy) else do (Do nothing)
If ((Entered chat string) Equal to -unally gray) then do (Make (Triggering player) treat Player 9 (Gray) as an Enemy) else do (Do nothing)
If ((Entered chat string) Equal to -unally light blue) then do (Make (Triggering player) treat Player 10 (Light Blue) as an Enemy) else do (Do nothing)
If ((Entered chat string) Equal to -unally dark green) then do (Make (Triggering player) treat Player 11 (Dark Green) as an Enemy) else do (Do nothing)
If ((Entered chat string) Equal to -unally brown) then do (Make (Triggering player) treat Player 12 (Brown) as an Enemy) else do (Do nothing)
Game - Display to (All players) the text: ((Name of (Triggering player)) + (declares war on + (Substring((Entered chat string), 9, 19))))
ally
Events
Player - Player 1 (Red) types a chat message containing -ally (Unexpected type: 'stringnoformat') as A substring
Player - Player 2 (Blue) types a chat message containing -ally (Unexpected type: 'stringnoformat') as A substring
Player - Player 3 (Teal) types a chat message containing -ally (Unexpected type: 'stringnoformat') as A substring
Player - Player 4 (Purple) types a chat message containing -ally (Unexpected type: 'stringnoformat') as A substring
Player - Player 5 (Yellow) types a chat message containing -ally (Unexpected type: 'stringnoformat') as A substring
Player - Player 6 (Orange) types a chat message containing -ally (Unexpected type: 'stringnoformat') as A substring
Player - Player 7 (Green) types a chat message containing -ally (Unexpected type: 'stringnoformat') as A substring
Player - Player 8 (Pink) types a chat message containing -ally (Unexpected type: 'stringnoformat') as A substring
Player - Player 9 (Gray) types a chat message containing -ally (Unexpected type: 'stringnoformat') as A substring
Player - Player 10 (Light Blue) types a chat message containing -ally (Unexpected type: 'stringnoformat') as A substring
Player - Player 11 (Dark Green) types a chat message containing -ally (Unexpected type: 'stringnoformat') as A substring
Player - Player 12 (Brown) types a chat message containing -ally (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Then - Actions
Game - Display to (All players) the text: ((Name of (Triggering player)) + (allies + (Substring((Entered chat string), 7, 17))))
Else - Actions
Do nothing
If ((Entered chat string) Equal to -ally red) then do (Make (Triggering player) treat Player 1 (Red) as an Ally with shared vision) else do (Do nothing)
If ((Entered chat string) Equal to -ally Blue) then do (Make (Triggering player) treat Player 2 (Blue) as an Ally with shared vision) else do (Do nothing)
If ((Entered chat string) Equal to -ally teal) then do (Make (Triggering player) treat Player 3 (Teal) as an Ally with shared vision) else do (Do nothing)
If ((Entered chat string) Equal to -ally purple) then do (Make (Triggering player) treat Player 4 (Purple) as an Ally with shared vision) else do (Do nothing)
If ((Entered chat string) Equal to -ally yellow) then do (Make (Triggering player) treat Player 5 (Yellow) as an Ally with shared vision) else do (Do nothing)
If ((Entered chat string) Equal to -ally orange) then do (Make (Triggering player) treat Player 6 (Orange) as an Ally with shared vision) else do (Do nothing)
If ((Entered chat string) Equal to -ally Green) then do (Make (Triggering player) treat Player 7 (Green) as an Ally with shared vision) else do (Do nothing)
If ((Entered chat string) Equal to -ally pink) then do (Make (Triggering player) treat Player 8 (Pink) as an Ally with shared vision) else do (Do nothing)
If ((Entered chat string) Equal to -ally gray) then do (Make (Triggering player) treat Player 9 (Gray) as an Ally with shared vision) else do (Do nothing)
If ((Entered chat string) Equal to -ally light blue) then do (Make (Triggering player) treat Player 10 (Light Blue) as an Ally with shared vision) else do (Do nothing)
If ((Entered chat string) Equal to -ally dark green) then do (Make (Triggering player) treat Player 11 (Dark Green) as an Ally with shared vision) else do (Do nothing)
If ((Entered chat string) Equal to -ally brown) then do (Make (Triggering player) treat Player 12 (Brown) as an Ally with shared vision) else do (Do nothing)
neutral
Events
Player - Player 1 (Red) types a chat message containing -neutral (Unexpected type: 'stringnoformat') as A substring
Player - Player 2 (Blue) types a chat message containing -neutral (Unexpected type: 'stringnoformat') as A substring
Player - Player 3 (Teal) types a chat message containing -neutral (Unexpected type: 'stringnoformat') as A substring
Player - Player 4 (Purple) types a chat message containing -neutral (Unexpected type: 'stringnoformat') as A substring
Player - Player 5 (Yellow) types a chat message containing -neutral (Unexpected type: 'stringnoformat') as A substring
Player - Player 6 (Orange) types a chat message containing -neutral (Unexpected type: 'stringnoformat') as A substring
Player - Player 7 (Green) types a chat message containing -neutral (Unexpected type: 'stringnoformat') as A substring
Player - Player 8 (Pink) types a chat message containing -neutral (Unexpected type: 'stringnoformat') as A substring
Player - Player 9 (Gray) types a chat message containing -neutral (Unexpected type: 'stringnoformat') as A substring
Player - Player 10 (Light Blue) types a chat message containing -neutral (Unexpected type: 'stringnoformat') as A substring
Player - Player 11 (Dark Green) types a chat message containing -neutral (Unexpected type: 'stringnoformat') as A substring
Player - Player 12 (Brown) types a chat message containing -neutral (Unexpected type: 'stringnoformat') as A substring
Conditions
Actions
If ((Entered chat string) Equal to -neutral red) then do (Make (Triggering player) treat Player 1 (Red) as an Neutral) else do (Do nothing)
If ((Entered chat string) Equal to -neutral blue) then do (Make (Triggering player) treat Player 2 (Blue) as an Neutral) else do (Do nothing)
If ((Entered chat string) Equal to -neutral teal) then do (Make (Triggering player) treat Player 3 (Teal) as an Neutral) else do (Do nothing)
If ((Entered chat string) Equal to -neutral purple) then do (Make (Triggering player) treat Player 4 (Purple) as an Neutral) else do (Do nothing)
If ((Entered chat string) Equal to -neutral yellow) then do (Make (Triggering player) treat Player 5 (Yellow) as an Neutral) else do (Do nothing)
If ((Entered chat string) Equal to -neutral orange) then do (Make (Triggering player) treat Player 6 (Orange) as an Neutral) else do (Do nothing)
If ((Entered chat string) Equal to -neutral green) then do (Make (Triggering player) treat Player 7 (Green) as an Neutral) else do (Do nothing)
If ((Entered chat string) Equal to -neutral pink) then do (Make (Triggering player) treat Player 8 (Pink) as an Neutral) else do (Do nothing)
If ((Entered chat string) Equal to -neutral gray) then do (Make (Triggering player) treat Player 9 (Gray) as an Neutral) else do (Do nothing)
If ((Entered chat string) Equal to -neutral light blue) then do (Make (Triggering player) treat Player 10 (Light Blue) as an Neutral) else do (Do nothing)
If ((Entered chat string) Equal to -neutral dark green) then do (Make (Triggering player) treat Player 11 (Dark Green) as an Neutral) else do (Do nothing)
If ((Entered chat string) Equal to -neutral brown) then do (Make (Triggering player) treat Player 12 (Brown) as an Neutral) else do (Do nothing)
Game - Display to (All players) the text: ((Name of (Triggering player)) + (neutrals + (Substring((Entered chat string), 10, 20))))
Init
Events
Map initialization
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Set (Picked player) . Current gold to 200
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Make (Picked player) treat (Picked player) as an Ally with shared vision
income
Events
Time - Timer expires
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Player - Add (20 x (Number of living City units owned by (Picked player))) to (Picked player) . Current gold
timer
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Countdown Timer - Create a timer window for Timer with title Next Turn
Countdown Timer - Start Timer as a Repeating timer that will expire in 60.00 seconds
near
Events
Player - Player 1 (Red) types a chat message containing -near (Unexpected type: 'stringnoformat') as An exact match
Player - Player 2 (Blue) types a chat message containing -near (Unexpected type: 'stringnoformat') as An exact match
Player - Player 3 (Teal) types a chat message containing -near (Unexpected type: 'stringnoformat') as An exact match
Player - Player 4 (Purple) types a chat message containing -near (Unexpected type: 'stringnoformat') as An exact match
Player - Player 5 (Yellow) types a chat message containing -near (Unexpected type: 'stringnoformat') as An exact match
Player - Player 6 (Orange) types a chat message containing -near (Unexpected type: 'stringnoformat') as An exact match
Player - Player 7 (Green) types a chat message containing -near (Unexpected type: 'stringnoformat') as An exact match
Player - Player 8 (Pink) types a chat message containing -near (Unexpected type: 'stringnoformat') as An exact match
Player - Player 9 (Gray) types a chat message containing -near (Unexpected type: 'stringnoformat') as An exact match
Player - Player 10 (Light Blue) types a chat message containing -near (Unexpected type: 'stringnoformat') as An exact match
Player - Player 11 (Dark Green) types a chat message containing -near (Unexpected type: 'stringnoformat') as An exact match
Conditions
Actions
Camera - Set (Triggering player) 's camera Distance to target to 750.00 over 0 seconds
medium
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
Conditions
Actions
Camera - Set (Triggering player) 's camera Distance to target to 1500.00 over 0 seconds
far
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
Conditions
Actions
Camera - Set (Triggering player) 's camera Distance to target to 3000.00 over 0 seconds
camera
Events
Map initialization
Conditions
Actions
Camera - . Apply . gg_cam_Camera_001 for Player 1 (Red) over 0 seconds
Camera - . Apply . gg_cam_Camera_001 for Player 2 (Blue) over 0 seconds
Camera - . Apply . gg_cam_Camera_001 for Player 3 (Teal) over 0 seconds
Camera - . Apply . gg_cam_Camera_001 for Player 4 (Purple) over 0 seconds
Camera - . Apply . gg_cam_Camera_001 for Player 5 (Yellow) over 0 seconds
Camera - . Apply . gg_cam_Camera_001 for Player 6 (Orange) over 0 seconds
Camera - . Apply . gg_cam_Camera_001 for Player 7 (Green) over 0 seconds
Camera - . Apply . gg_cam_Camera_001 for Player 8 (Pink) over 0 seconds
Camera - . Apply . gg_cam_Camera_001 for Player 9 (Gray) over 0 seconds
Camera - . Apply . gg_cam_Camera_001 for Player 10 (Light Blue) over 0 seconds
Camera - . Apply . gg_cam_Camera_001 for Player 11 (Dark Green) over 0 seconds
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.