1. Are you planning to upload your awesome map to Hive? Please review the rules here.
    Dismiss Notice
  2. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  3. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. We have recently started the 16th edition of the Mini Mapping Contest. The theme is mini RPG. Do check it out and have fun.
    Dismiss Notice
  5. Choose your ride to damnation in the 5th Special Effect Contest Poll.
    Dismiss Notice
  6. The winners of the 13th Techtree Contest have been announced!
    Dismiss Notice
  7. The 13th Music Contest Poll has begun! Vote for the best tracks in this symphony of frost and flame.
    Dismiss Notice
  8. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Trigger Viewer

Empire at War v.1.5.w3x
Variables
Initialisierung
Start
remove
asf
Welcome
Recources
quests
Spawn
Spawn middle hydralisk
Comment 600
Leave or Empty
Red leav Copy
Blue leav Copy
Teal leav Copy
Purp leav Copy
Yellow leav Copy
Orange leav Copy
Green leav Copy
Pink leav Copy
Gray leav Copy
Lg leav Copy
Darkg green leav Copy
Brown leave Copy
Red
Blue
Teal
Purp
Yellow
Orange
Green
Pink
Gray
Lightgray
Darkgreen
Brown
Camera
Camera
Set Cam View to Minimum
Set Cam View to Medium
Set Cam View to Maxium
Leaderboard
Leaderbord kills
Leaderboard kills refresh
Kartenspezifischen eigenen Skript-Code unten eingeben. Dieser Text wird in das Karten-Skript nach der Deklaration der Variablen und vor jeglichem Auslöser-Code eingefügt.

		
Name Type Is Array Initial Value
PlayerKills integer Yes
Start
  Events
    Map initialization
  Conditions
  Actions
    Camera - Pan camera for (Random player from (All players)) to (Center of Middle <gen>) over 1.00 seconds
    Player - Change color of Player 1 (Red) to Red, Changing color of existing units
    Player - Change color of Player 2 (Blue) to Red, Changing color of existing units
    Player - Change color of Player 3 (Teal) to Blue, Changing color of existing units
    Player - Change color of Player 4 (Purple) to Blue, Changing color of existing units
    Player - Change color of Player 5 (Yellow) to Orange, Changing color of existing units
    Player - Change color of Player 6 (Orange) to Orange, Changing color of existing units
    Player - Change color of Player 7 (Green) to Green, Changing color of existing units
    Player - Change color of Player 8 (Pink) to Green, Changing color of existing units
    Player - Change color of Player 9 (Gray) to Purple, Changing color of existing units
    Player - Change color of Player 10 (Light Blue) to Purple, Changing color of existing units
    Player - Change color of Player 11 (Dark Green) to Brown, Changing color of existing units
    Player - Change color of Player 12 (Brown) to Brown, Changing color of existing units
    Selection - Clear selection
    For each (Integer A) from 1 to 12, do (Turn Gives bounty On for (Player((Integer A))))
remove
  Events
    Time - Elapsed game time is 300.00 seconds
  Conditions
  Actions
    Unit - Remove |cffffcc00Power of Nature|r 0000 <gen> from the game
    Unit - Remove |cffffcc00Power of Nature|r 0011 <gen> from the game
    Unit - Remove |cffffcc00Power of Nature|r 0012 <gen> from the game
    Unit - Remove |cffffcc00Power of Nature|r 0015 <gen> from the game
    Unit - Remove |cffffcc00Power of Nature|r 0016 <gen> from the game
    Unit - Remove |cffffcc00Power of Nature|r 0019 <gen> from the game
    Unit - Remove |cffffcc00Power of Nature|r 0020 <gen> from the game
    Unit - Remove |cffffcc00Power of Nature|r 0023 <gen> from the game
    Unit - Remove |cffffcc00Power of Nature|r 0032 <gen> from the game
    Unit - Remove |cffffcc00Power of Nature|r 0033 <gen> from the game
    Unit - Remove |cffffcc00Power of Nature|r 0034 <gen> from the game
    Unit - Remove |cffffcc00Power of Nature|r 0035 <gen> from the game
asf
  Events
    Unit - A unit Begins construction
  Conditions
    (Triggering unit) Equal to (Random unit from (Units of type |cffffcc00Power of Nature|r))
  Actions
    Unit - Kill (Triggering unit)
    Trigger - Turn off (This trigger)
Welcome
  Events
    Time - Elapsed game time is 1.00 seconds
  Conditions
  Actions
    Game - Display to (All players) for 25.00 seconds the text: |c0000ff00Welcome to Empire at War.You have 5 Minutes to choose a race.After 5 Minutes your Power of Natur will be removed.Build woodworkers to eran wood and fight to get gold!Warcamps are taking food away, so look up to build not to much.You can train a Hero but he is taking 10 food away.So really be sure to want him.Else Have fun :D|r
Recources
  Events
    Time - Elapsed game time is 1.00 seconds
  Conditions
  Actions
    Player - Add 10000 to Player 1 (Red).Current gold
    Player - Add 10000 to Player 2 (Blue).Current gold
    Player - Add 10000 to Player 3 (Teal).Current gold
    Player - Add 10000 to Player 4 (Purple).Current gold
    Player - Add 10000 to Player 5 (Yellow).Current gold
    Player - Add 10000 to Player 6 (Orange).Current gold
    Player - Add 10000 to Player 7 (Green).Current gold
    Player - Add 10000 to Player 8 (Pink).Current gold
    Player - Add 10000 to Player 9 (Gray).Current gold
    Player - Add 10000 to Player 10 (Light Blue).Current gold
    Player - Add 10000 to Player 11 (Dark Green).Current gold
    Player - Add 10000 to Player 12 (Brown).Current gold
    Player - Add 90 to Player 1 (Red).Current lumber
    Player - Add 90 to Player 2 (Blue).Current lumber
    Player - Add 90 to Player 3 (Teal).Current lumber
    Player - Add 90 to Player 4 (Purple).Current lumber
    Player - Add 90 to Player 5 (Yellow).Current lumber
    Player - Add 90 to Player 6 (Orange).Current lumber
    Player - Add 90 to Player 7 (Green).Current lumber
    Player - Add 90 to Player 8 (Pink).Current lumber
    Player - Add 90 to Player 9 (Gray).Current lumber
    Player - Add 90 to Player 10 (Light Blue).Current lumber
    Player - Add 90 to Player 11 (Dark Green).Current lumber
    Player - Add 90 to Player 12 (Brown).Current lumber
quests
  Events
    Time - Elapsed game time is 2.00 seconds
  Conditions
  Actions
    Quest - Create a Optional quest titled Destroy the Ring with the description [|c00ff0000Fellowship|r] |c00ff8000The Fellowship has the quest to move Frodo to Mount Doom. There are some possbillitys to get there. First you can choose between 2 ways.|r |c00800000-Move through Moria and get to Lothlôrien -Try to cross the lands of Isengard and get to Cair Andros o, using icon path war3mapImported\BTNTheOneRing.BLP
    Quest - Create a Optional quest titled Hunt the Fellowship with the description [|c00ff0000Minas Morgul and Mordor|r]|c00ff8000Minas Morgul and Mordor have the quest to stop the Fellowship destroying the ring, because the are defeated if they do it.|r |c00800000-Kill Aragorn to stop him of calling the Dead Army -Kill Frodo so he can't destroy the Ring anmory|r|c00f, using icon path war3mapImported\BTNSauron.blp
    Quest - Create a Optional quest titled Path of Death with the description [|c00ff0000Fellowship|r]|c00ff8000The Fellowship has the quest to move Aragorn to the Path of Death.Before you can move Aragorn there, a unit of the dark Forces of Mordor has to enterthe First Gate of Minas Tirith.|r, using icon path ReplaceableTextures\CommandButtons\BTNSacrificialSkull.blp
    Quest - Create a Optional quest titled Path of Death with the description [|c00ff0000Credits|r]-olofmoleman(Sauron, Orthanc, Barad'dur, Saurons Mace, NazgulRider, Medieval Trebuchet - Models)-Elenai(Gondor Shieldbearer Model)-Pike(Legolas Model)-Hueter(Gimli Skin, Aragorn Skin)-soulreaver6(Assasin Model)-Mc !(crystalsword Model)-General Frank(Fel Orc Crossb, using icon path ReplaceableTextures\CommandButtons\BTNChestOfGold.blp
Spawn middle hydralisk
  Events
    Time - Every 600.00 seconds of game time
  Conditions
  Actions
    Unit - Create 1.|cffffcc00Son of a Bitch Wulf|r for Neutral Hostile at (Center of Spawn <gen>) facing Default building facing degrees
Comment 600
  Events
    Time - Every 600.00 seconds of game time
  Conditions
  Actions
    Game - Display to (All players) for 5.00 seconds the text: Hurensohn Wolf has spawned.Fuck you!!!!!!
Red leav Copy
  Events
    Time - Every 2.00 seconds of game time
  Conditions
    (Player 1 (Red) slot status) Equal to Has left the game
  Actions
    Sound - Play (Last played sound)
    Game - Display to (All players) the text: ((Name of Player 1 (Red)) + Has left the game.)
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 1 (Red)) and do (Kill (Picked unit))
    Trigger - Turn off (This trigger)
Blue leav Copy
  Events
    Time - Every 2.00 seconds of game time
  Conditions
    (Player 2 (Blue) slot status) Equal to Has left the game
  Actions
    Sound - Play (Last played sound)
    Game - Display to (All players) the text: ((Name of Player 2 (Blue)) + Has left the game.)
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 2 (Blue)) and do (Kill (Picked unit))
    Trigger - Turn off (This trigger)
Teal leav Copy
  Events
    Time - Every 2.00 seconds of game time
  Conditions
    (Player 3 (Teal) slot status) Equal to Has left the game
  Actions
    Sound - Play (Last played sound)
    Game - Display to (All players) the text: ((Name of Player 3 (Teal)) + Has left the game.)
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 3 (Teal)) and do (Kill (Picked unit))
    Trigger - Turn off (This trigger)
Purp leav Copy
  Events
    Time - Every 2.00 seconds of game time
  Conditions
    (Player 4 (Purple) slot status) Equal to Has left the game
  Actions
    Sound - Play (Last played sound)
    Game - Display to (All players) the text: ((Name of Player 4 (Purple)) + Has left the game.)
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 4 (Purple)) and do (Kill (Picked unit))
    Trigger - Turn off (This trigger)
Yellow leav Copy
  Events
    Time - Every 2.00 seconds of game time
  Conditions
    (Player 5 (Yellow) slot status) Equal to Has left the game
  Actions
    Sound - Play (Last played sound)
    Game - Display to (All players) the text: ((Name of Player 5 (Yellow)) + Has left the game.)
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 5 (Yellow)) and do (Kill (Picked unit))
    Trigger - Turn off (This trigger)
Orange leav Copy
  Events
    Time - Every 2.00 seconds of game time
  Conditions
    (Player 6 (Orange) slot status) Equal to Has left the game
  Actions
    Sound - Play (Last played sound)
    Game - Display to (All players) the text: ((Name of Player 6 (Orange)) + Has left the game.)
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 6 (Orange)) and do (Kill (Picked unit))
    Trigger - Turn off (This trigger)
Green leav Copy
  Events
    Time - Every 2.00 seconds of game time
  Conditions
    (Player 7 (Green) slot status) Equal to Has left the game
  Actions
    Sound - Play (Last played sound)
    Game - Display to (All players) the text: ((Name of Player 7 (Green)) + Has left the game.)
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 7 (Green)) and do (Kill (Picked unit))
    Trigger - Turn off (This trigger)
Pink leav Copy
  Events
    Time - Every 2.00 seconds of game time
  Conditions
    (Player 8 (Pink) slot status) Equal to Has left the game
  Actions
    Sound - Play (Last played sound)
    Game - Display to (All players) the text: ((Name of Player 8 (Pink)) + Has left the game.)
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 8 (Pink)) and do (Kill (Picked unit))
    Trigger - Turn off (This trigger)
Gray leav Copy
  Events
    Time - Every 2.00 seconds of game time
  Conditions
    (Player 9 (Gray) slot status) Equal to Has left the game
  Actions
    Sound - Play (Last played sound)
    Game - Display to (All players) the text: ((Name of Player 9 (Gray)) + Has left the game.)
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 9 (Gray)) and do (Kill (Picked unit))
    Trigger - Turn off (This trigger)
Lg leav Copy
  Events
    Time - Every 2.00 seconds of game time
  Conditions
    (Player 10 (Light Blue) slot status) Equal to Has left the game
  Actions
    Sound - Play (Last played sound)
    Game - Display to (All players) the text: ((Name of Player 10 (Light Blue)) + Has left the game.)
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 10 (Light Blue)) and do (Kill (Picked unit))
    Trigger - Turn off (This trigger)
Darkg green leav Copy
  Events
    Time - Every 2.00 seconds of game time
  Conditions
    (Player 11 (Dark Green) slot status) Equal to Has left the game
  Actions
    Sound - Play (Last played sound)
    Game - Display to (All players) the text: ((Name of Player 11 (Dark Green)) + Has left the game.)
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 11 (Dark Green)) and do (Kill (Picked unit))
    Trigger - Turn off (This trigger)
Brown leave Copy
  Events
    Time - Every 2.00 seconds of game time
  Conditions
    (Player 12 (Brown) slot status) Equal to Has left the game
  Actions
    Sound - Play (Last played sound)
    Game - Display to (All players) the text: ((Name of Player 12 (Brown)) + Has left the game.)
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Kill (Picked unit))
    Trigger - Turn off (This trigger)
Red
  Events
  Conditions
    (Player 1 (Red) slot status) Not equal to Is playing
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 1 (Red)) and do (Kill (Picked unit))
Blue
  Events
  Conditions
    (Player 2 (Blue) slot status) Not equal to Is playing
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 2 (Blue)) and do (Kill (Picked unit))
Teal
  Events
  Conditions
    (Player 3 (Teal) slot status) Not equal to Is playing
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 3 (Teal)) and do (Kill (Picked unit))
Purp
  Events
  Conditions
    (Player 4 (Purple) slot status) Not equal to Is playing
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 4 (Purple)) and do (Kill (Picked unit))
Yellow
  Events
  Conditions
    (Player 5 (Yellow) slot status) Not equal to Is playing
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 5 (Yellow)) and do (Kill (Picked unit))
Orange
  Events
  Conditions
    (Player 6 (Orange) slot status) Not equal to Is playing
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 6 (Orange)) and do (Kill (Picked unit))
Green
  Events
  Conditions
    (Player 7 (Green) slot status) Not equal to Is playing
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 7 (Green)) and do (Kill (Picked unit))
Pink
  Events
  Conditions
    (Player 8 (Pink) slot status) Not equal to Is playing
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 8 (Pink)) and do (Kill (Picked unit))
Gray
  Events
  Conditions
    (Player 9 (Gray) slot status) Not equal to Is playing
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 9 (Gray)) and do (Kill (Picked unit))
Lightgray
  Events
  Conditions
    (Player 10 (Light Blue) slot status) Not equal to Is playing
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 10 (Light Blue)) and do (Kill (Picked unit))
Darkgreen
  Events
  Conditions
    (Player 11 (Dark Green) slot status) Not equal to Is playing
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 11 (Dark Green)) and do (Kill (Picked unit))
Brown
  Events
  Conditions
    (Player 12 (Brown) slot status) Not equal to Is playing
  Actions
    Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 12 (Brown)) and do (Kill (Picked unit))
Camera
  Events
    Map initialization
  Conditions
  Actions
    Camera - Set Player 1 (Red)'s camera Distance to target to 2900.00 over 0 seconds
    Camera - Set Player 2 (Blue)'s camera Distance to target to 2900.00 over 0 seconds
    Camera - Set Player 3 (Teal)'s camera Distance to target to 2900.00 over 0 seconds
    Camera - Set Player 4 (Purple)'s camera Distance to target to 2900.00 over 0 seconds
    Camera - Set Player 5 (Yellow)'s camera Distance to target to 2900.00 over 0 seconds
    Camera - Set Player 6 (Orange)'s camera Distance to target to 2900.00 over 0 seconds
    Camera - Set Player 7 (Green)'s camera Distance to target to 2900.00 over 0 seconds
    Camera - Set Player 8 (Pink)'s camera Distance to target to 2900.00 over 0 seconds
    Camera - Set Player 9 (Gray)'s camera Distance to target to 2900.00 over 0 seconds
    Camera - Set Player 10 (Light Blue)'s camera Distance to target to 2900.00 over 0 seconds
    Camera - Set Player 11 (Dark Green)'s camera Distance to target to 2900.00 over 0 seconds
    Camera - Set Player 12 (Brown)'s camera Distance to target to 2900.00 over 0 seconds
    Wait 3.00 seconds
    Game - Display to (All players) for 10.00 seconds the text: To Set Camera ViewType in "min" to set view to +1650 ftType in "med" to set view to +2900 ftType in "max" to set view to +3600 ft
Set Cam View to Minimum
  Events
    Player - Player 1 (Red) types a chat message containing Min (stringnoformat) as An exact match
    Player - Player 2 (Blue) types a chat message containing Min (stringnoformat) as An exact match
    Player - Player 3 (Teal) types a chat message containing Min (stringnoformat) as An exact match
    Player - Player 4 (Purple) types a chat message containing Min (stringnoformat) as An exact match
    Player - Player 5 (Yellow) types a chat message containing Min (stringnoformat) as An exact match
    Player - Player 6 (Orange) types a chat message containing Min (stringnoformat) as An exact match
    Player - Player 7 (Green) types a chat message containing Min (stringnoformat) as An exact match
    Player - Player 8 (Pink) types a chat message containing Min (stringnoformat) as An exact match
    Player - Player 9 (Gray) types a chat message containing Min (stringnoformat) as An exact match
    Player - Player 10 (Light Blue) types a chat message containing Min (stringnoformat) as An exact match
    Player - Player 11 (Dark Green) types a chat message containing Min (stringnoformat) as An exact match
    Player - Player 12 (Brown) types a chat message containing Min (stringnoformat) as An exact match
  Conditions
  Actions
    Camera - Reset camera for (Triggering player) to standard game-view over 2.00 seconds
    Game - Display to (Player group((Triggering player))) for 5.00 seconds the text: View Set to MINIMUM
Set Cam View to Medium
  Events
    Player - Player 1 (Red) types a chat message containing Med (stringnoformat) as An exact match
    Player - Player 2 (Blue) types a chat message containing Med (stringnoformat) as An exact match
    Player - Player 3 (Teal) types a chat message containing Med (stringnoformat) as An exact match
    Player - Player 4 (Purple) types a chat message containing Med (stringnoformat) as An exact match
    Player - Player 5 (Yellow) types a chat message containing Med (stringnoformat) as An exact match
    Player - Player 6 (Orange) types a chat message containing Med (stringnoformat) as An exact match
    Player - Player 7 (Green) types a chat message containing Med (stringnoformat) as An exact match
    Player - Player 8 (Pink) types a chat message containing Med (stringnoformat) as An exact match
    Player - Player 9 (Gray) types a chat message containing Med (stringnoformat) as An exact match
    Player - Player 10 (Light Blue) types a chat message containing Med (stringnoformat) as An exact match
    Player - Player 11 (Dark Green) types a chat message containing Med (stringnoformat) as An exact match
    Player - Player 12 (Brown) types a chat message containing Med (stringnoformat) as An exact match
  Conditions
  Actions
    Camera - Set (Triggering player)'s camera Distance to target to 2900.00 over 2.00 seconds
    Game - Display to (Player group((Triggering player))) for 5.00 seconds the text: View Set to MEDIUM
Set Cam View to Maxium
  Events
    Player - Player 1 (Red) types a chat message containing Max (stringnoformat) as An exact match
    Player - Player 2 (Blue) types a chat message containing Max (stringnoformat) as An exact match
    Player - Player 3 (Teal) types a chat message containing Max (stringnoformat) as An exact match
    Player - Player 4 (Purple) types a chat message containing Max (stringnoformat) as An exact match
    Player - Player 5 (Yellow) types a chat message containing Max (stringnoformat) as An exact match
    Player - Player 6 (Orange) types a chat message containing Max (stringnoformat) as An exact match
    Player - Player 7 (Green) types a chat message containing Max (stringnoformat) as An exact match
    Player - Player 8 (Pink) types a chat message containing Max (stringnoformat) as An exact match
    Player - Player 9 (Gray) types a chat message containing Max (stringnoformat) as An exact match
    Player - Player 10 (Light Blue) types a chat message containing Max (stringnoformat) as An exact match
    Player - Player 11 (Dark Green) types a chat message containing Max (stringnoformat) as An exact match
    Player - Player 12 (Brown) types a chat message containing Max (stringnoformat) as An exact match
  Conditions
  Actions
    Camera - Set (Triggering player)'s camera Distance to target to 3600.00 over 2.00 seconds
    Game - Display to (Player group((Triggering player))) for 5.00 seconds the text: View Set to MAXIMUM
Leaderbord kills
  Events
    Time - Elapsed game time is 2.00 seconds
  Conditions
  Actions
    Leaderboard - Create a leaderboard for (All players) titled |c00ffff00Player Kills:|r
    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
            ((Picked player) controller) Equal to User
            ((Picked player) slot status) Equal to Is playing
          Then - Actions
            Leaderboard - Add (Picked player) to (Last created leaderboard) with label (Name of (Picked player)) and value 0
          Else - Actions
    Leaderboard - Show (Last created leaderboard)
Leaderboard kills refresh
  Events
    Unit - A unit Dies
  Conditions
  Actions
    Set VariableSet PlayerKills[(Player number of (Owner of (Killing unit)))] = (PlayerKills[(Player number of (Owner of (Killing unit)))] + 1)
    Leaderboard - Change the value for (Owner of (Killing unit)) in (Last created leaderboard) to PlayerKills[(Player number of (Owner of (Killing unit)))]
    Leaderboard - Sort (Last created leaderboard) by Value in Descending order