1. Are you planning to upload your awesome map to Hive? Please review the rules here.
    Dismiss Notice
  2. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  3. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  4. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
Hive 3 Remoosed BETA - NOW LIVE. Go check it out at BETA Hive Workshop! Post your feedback in this new forum BETA Feedback.
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Trigger Viewer

Archers Soldier Version v1.1.w3x
Variables
Initialization
Melee Initialization
Game Ends
Game Timer Expires
Revive Players
Death of Player
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
GameTime timer No
Default melee game initialization for all players
Melee Initialization
  Events
    Map initialization
  Conditions
  Actions
    Unit Group - Pick every unit in (Units in Region_001 <gen>) and do (Explode (Picked unit).)
    Countdown Timer - Start GameTime as a One-shot timer that will expire in 900.00 seconds
    Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Game Timer Expires
  Events
    Time - GameTime expires
  Conditions
  Actions
    Visibility - Disable black mask
    Visibility - Disable fog of war
    Unit - Explode Soldier 0001 <gen>.
    Unit - Explode Soldier 0009 <gen>.
    Unit - Explode Soldier 0010 <gen>.
    Unit - Explode Soldier 0012 <gen>.
    Unit - Explode Soldier 0011 <gen>.
    Unit - Explode Soldier 0013 <gen>.
    Unit - Explode Soldier 0014 <gen>.
    Unit - Explode Soldier 0015 <gen>.
    Game - Display to (All players) the text: GAME OVERThank you for playing Archers Soldier VersionThe scores are at the scoreboard when you exit the game.
    Trigger - Turn off Death_of_Player <gen>
Death of Player
  Events
    Unit - A unit Dies
  Conditions
    ((Owner of (Dying unit)) controller) Equal to User
    ((Owner of (Dying unit)) slot status) Equal to Is playing
    (Unit-type of (Dying unit)) Equal to Soldier
  Actions
    Hero - Instantly revive (Dying unit) at (Random point in (Playable map area)), Show revival graphics
    Wait 0.50 seconds
    Camera - Pan camera for (Owner of (Dying unit)) to (Position of (Dying unit)) over 0.50 seconds