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 haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  4. Rubbed the right way, the genie is out of its lamp! The 12th Concept Art Contest Results have been announced.
    Dismiss Notice
  5. Race against the odds and Reforge, Don't Refund. The 14th Techtree Contest has begun!
    Dismiss Notice
  6. 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

The path of the footman v0.8c.w3x
Variables
Initialization
fire pit
armor
addArmor
paladin
mountain king
final building
defeated
heroes
playerLeave

		
Name Type Is Array Initial Value
group group No
playergroup force No
playerinteger integer No
Point location No
fire pit
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Triggering unit)) Equal to Fire pit with pig
  Actions
    Item - Create Shimmerglaze Roast at (Position of (Triggering unit))
armor
  Events
    Time - Elapsed game time is 5.00 seconds
  Conditions
  Actions
    For each (Integer A) from 1 to 4, do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ((Player((Integer A))) slot status) Equal to Is playing
          Then - Actions
            Unit Group - Pick every unit in (Units of type Footman) and do (Actions)
              Loop - Actions
                Item - Remove (Item carried by (Picked unit) of type armor)
          Else - Actions
addArmor
  Events
    Time - Elapsed game time is 4.00 seconds
  Conditions
  Actions
    Unit Group - Pick every unit in (Units of type Footman) and do (Actions)
      Loop - Actions
        Hero - Create armor and give it to (Picked unit)
        Hero - Create armor and give it to (Picked unit)
        Hero - Create armor and give it to (Picked unit)
        Hero - Create armor and give it to (Picked unit)
        Hero - Create armor and give it to (Picked unit)
paladin
  Events
    Unit - A unit enters Region_000 <gen>
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Cinematic - Turn cinematic mode On for (All players)
    Cinematic - Send transmission to (All players) from Paladin 0019 <gen> named Paladin: Play No sound and display Hello stranger, what brings you here?. Modify duration: Set to 5.00 seconds and Wait
    Cinematic - Send transmission to (All players) from Footman 0058 <gen> named Footman: Play No sound and display I am looking for portal. Do you know where is it?. Modify duration: Set to 5.00 seconds and Wait
    Cinematic - Send transmission to (All players) from Paladin 0019 <gen> named Paladin: Play No sound and display I donť know mate, but try to follow this little stony path.. Modify duration: Set to 5.00 seconds and Wait
    Cinematic - Turn cinematic mode Off for (All players)
mountain king
  Events
    Unit - A unit enters Region_002 <gen>
  Conditions
  Actions
    Cinematic - Turn cinematic mode On for (All players)
    Cinematic - Send transmission to (All players) from Mountain King 0007 <gen> named Mountain king: Play No sound and display Nice to see you. You are looking for the portal? You can reach it by following this forest road. I am guarding this place from undead units. Good luck.. Modify duration: Set to 15.00 seconds and Don't wait
    Trigger - Turn off (This trigger)
    Wait 15.00 seconds
    Cinematic - Turn cinematic mode Off for (All players)
final building
  Events
    Unit - A unit enters Region_001 <gen>
  Conditions
  Actions
    Trigger - Turn off (This trigger)
    Cinematic - Turn cinematic mode On for (All players)
    Cinematic - Send transmission to (All players) from Mountain King 0069 <gen> named Mountain King: Play No sound and display Nice to see you!. Modify duration: Set to 5.00 seconds and Wait
    Cinematic - Send transmission to (All players) from Blood Mage 0070 <gen> named Blood Mage: Play No sound and display Seems like someone survived.. Modify duration: Set to 5.00 seconds and Wait
    Cinematic - Send transmission to (All players) from Archmage 0071 <gen> named Blood Mage: Play No sound and display Hello, i was afraid of your arrival. But seems like you are ok. Are you ready?. Modify duration: Set to 5.00 seconds and Wait
    Cinematic - Send transmission to (All players) from Paladin 0072 <gen> named Paladin: Play No sound and display Nice to see you mate. Lets use the Portal.. Modify duration: Set to 5.00 seconds and Wait
    Wait 1.00 seconds
    Cinematic - Turn cinematic mode Off for (All players)
    Special Effect - Create a special effect at (Center of Region_001 <gen>) using Abilities\Spells\Other\Charm\CharmTarget.mdl
    Unit - Remove Blood Mage 0070 <gen> from the game
    Unit - Remove Mountain King 0069 <gen> from the game
    Unit - Remove Archmage 0071 <gen> from the game
    Unit - Remove Paladin 0072 <gen> from the game
    Wait 2.00 seconds
    Game - Victory Player 1 (Red) (Show dialogs, Show scores)
    Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
    Game - Victory Player 3 (Teal) (Show dialogs, Show scores)
    Game - Victory Player 4 (Purple) (Show dialogs, Show scores)
defeated
  Events
    Unit - A unit Dies
  Conditions
    (Unit-type of (Triggering unit)) Equal to Footman
  Actions
    Game - Defeat (Owner of (Triggering unit)) with the message: Defeat!
heroes
  Events
    Time - Elapsed game time is 1.00 seconds
  Conditions
  Actions
    For each (Integer A) from 1 to 4, do (Actions)
      Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          If - Conditions
            ((Player((Integer A))) slot status) Equal to Is playing
          Then - Actions
            Unit - Create 1.Footman for (Player((Integer A))) at ((Player((Integer A))) start location) facing Default building facing degrees
          Else - Actions
playerLeave
  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
  Conditions
  Actions
    Game - Display to (All players) for 10.00 seconds the text: ((Name of (Triggering player)) + has left the game.)