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

(3)Ashenvale's Strike v2.0.w3x
Variables
Initialization
Melee Initialization
Players
Setup Players
Run Cumputer Player 1
Run Cumputer Player 2
Run Cumputer Player 3
Run Enemy
Setup Enemy 1
Setup Enemy 2
Setup Enemy 3
Quest
Quest Main
Quest Dragons
Quest Dragons Check

		
Name Type Is Array Initial Value
DragonQuest quest No
DragonRequirement questitem No
MainQuest quest No
QuestRequirement questitem No
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 - Set starting resources (for all players)
    Melee Game - Enforce victory/defeat conditions (for all players)
    Trigger - Run Setup_Players <gen> (checking conditions)
    Trigger - Run Run_Enemy <gen> (checking conditions)
Setup Players
  Events
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 1 (Red) slot status) Equal to Is playing
      Then - Actions
        Unit Group - Pick every unit in (Units in Creeps_1 <gen> owned by Neutral Hostile) and do (Actions)
          Loop - Actions
            Unit - Remove (Picked unit) from the game
        Melee Game - Create (Race of Player 1 (Red)) starting units for Player 1 (Red) at (Player 1 (Red) start location) (Include Heroes)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 2 (Blue) slot status) Equal to Is playing
      Then - Actions
        Unit Group - Pick every unit in (Units in Creeps_2 <gen> owned by Neutral Hostile) and do (Actions)
          Loop - Actions
            Unit - Remove (Picked unit) from the game
        Melee Game - Create (Race of Player 2 (Blue)) starting units for Player 2 (Blue) at (Player 2 (Blue) start location) (Include Heroes)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 3 (Teal) slot status) Equal to Is playing
      Then - Actions
        Unit Group - Pick every unit in (Units in Creeps_3 <gen> owned by Neutral Hostile) and do (Actions)
          Loop - Actions
            Unit - Remove (Picked unit) from the game
        Melee Game - Create (Race of Player 3 (Teal)) starting units for Player 3 (Teal) at (Player 3 (Teal) start location) (Include Heroes)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 1 (Red) controller) Equal to Computer
      Then - Actions
        Trigger - Run Run_Cumputer_Player_1 <gen> (checking conditions)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 2 (Blue) controller) Equal to Computer
      Then - Actions
        Trigger - Run Run_Cumputer_Player_2 <gen> (checking conditions)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 3 (Teal) controller) Equal to Computer
      Then - Actions
        Trigger - Run Run_Cumputer_Player_3 <gen> (checking conditions)
      Else - Actions
        Do nothing
Run Cumputer Player 1
  Events
  Conditions
  Actions
    If ((Race of Player 1 (Red)) Equal to Human) then do (Start melee AI script for Player 1 (Red): human.ai (aiscript)) else do (Do nothing)
    If ((Race of Player 1 (Red)) Equal to Orc) then do (Start melee AI script for Player 1 (Red): orc.ai (aiscript)) else do (Do nothing)
    If ((Race of Player 1 (Red)) Equal to Undead) then do (Start melee AI script for Player 1 (Red): undead.ai (aiscript)) else do (Do nothing)
    If ((Race of Player 1 (Red)) Equal to Night Elf) then do (Start melee AI script for Player 1 (Red): elf.ai (aiscript)) else do (Do nothing)
Run Cumputer Player 2
  Events
  Conditions
  Actions
    If ((Race of Player 2 (Blue)) Equal to Human) then do (Start melee AI script for Player 2 (Blue): human.ai (aiscript)) else do (Do nothing)
    If ((Race of Player 2 (Blue)) Equal to Orc) then do (Start melee AI script for Player 2 (Blue): orc.ai (aiscript)) else do (Do nothing)
    If ((Race of Player 2 (Blue)) Equal to Undead) then do (Start melee AI script for Player 2 (Blue): undead.ai (aiscript)) else do (Do nothing)
    If ((Race of Player 2 (Blue)) Equal to Night Elf) then do (Start melee AI script for Player 2 (Blue): elf.ai (aiscript)) else do (Do nothing)
Run Cumputer Player 3
  Events
  Conditions
  Actions
    If ((Race of Player 3 (Teal)) Equal to Human) then do (Start melee AI script for Player 3 (Teal): human.ai (aiscript)) else do (Do nothing)
    If ((Race of Player 3 (Teal)) Equal to Orc) then do (Start melee AI script for Player 3 (Teal): orc.ai (aiscript)) else do (Do nothing)
    If ((Race of Player 3 (Teal)) Equal to Undead) then do (Start melee AI script for Player 3 (Teal): undead.ai (aiscript)) else do (Do nothing)
    If ((Race of Player 3 (Teal)) Equal to Night Elf) then do (Start melee AI script for Player 3 (Teal): elf.ai (aiscript)) else do (Do nothing)
Run Enemy
  Events
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 1 (Red) slot status) Equal to Is playing
      Then - Actions
        Trigger - Run Setup_Enemy_1 <gen> (checking conditions)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 2 (Blue) slot status) Equal to Is playing
      Then - Actions
        Trigger - Run Setup_Enemy_2 <gen> (checking conditions)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Player 3 (Teal) slot status) Equal to Is playing
      Then - Actions
        Trigger - Run Setup_Enemy_3 <gen> (checking conditions)
      Else - Actions
        Do nothing
Setup Enemy 1
  Events
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Race of Player 1 (Red)) Equal to Human
      Then - Actions
        Unit - Create 1.Furbolg Castle for Player 4 (Purple) at (Center of Enemy_1 <gen>) facing Default building facing degrees
        Unit - Create 5.Furbolg Peasant for Player 4 (Purple) at (Center of Workers_1 <gen>) facing Default building facing degrees
        AI - Start melee AI script for Player 4 (Purple): war3mapImported\Furblog Tribe.ai (aiscript)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Race of Player 1 (Red)) Equal to Orc
      Then - Actions
        Unit - Create 1.Satyr Castle for Player 4 (Purple) at (Center of Enemy_1 <gen>) facing Default building facing degrees
        Unit - Create 5.Satyr Peon for Player 4 (Purple) at (Center of Workers_1 <gen>) facing Default building facing degrees
        AI - Start melee AI script for Player 4 (Purple): war3mapImported\Stayer Army.ai (aiscript)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Race of Player 1 (Red)) Equal to Undead
      Then - Actions
        Unit - Create 1.Spider Tomb for Player 4 (Purple) at (Center of Enemy_1 <gen>) facing Default building facing degrees
        Unit - Create 3.Spider Acolyte for Player 4 (Purple) at (Center of Workers_1 <gen>) facing Default building facing degrees
        Unit - Create 1.Tree Spider for Player 4 (Purple) at (Center of Workers_1 <gen>) facing Default building facing degrees
        AI - Start melee AI script for Player 4 (Purple): war3mapImported\Spider Force.ai (aiscript)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Race of Player 1 (Red)) Equal to Night Elf
      Then - Actions
        Unit - Create 1.Murloc Temple for Player 4 (Purple) at (Center of Enemy_1 <gen>) facing Default building facing degrees
        Unit - Create 5.Murloc Slave for Player 4 (Purple) at (Center of Workers_1 <gen>) facing Default building facing degrees
        AI - Start melee AI script for Player 4 (Purple): war3mapImported\Murlock Kingdom.ai (aiscript)
      Else - Actions
        Do nothing
Setup Enemy 2
  Events
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Race of Player 2 (Blue)) Equal to Human
      Then - Actions
        Unit - Create 1.Furbolg Castle for Player 5 (Yellow) at (Center of Enemy_2 <gen>) facing Default building facing degrees
        Unit - Create 5.Furbolg Peasant for Player 5 (Yellow) at (Center of Workers_2 <gen>) facing Default building facing degrees
        AI - Start melee AI script for Player 5 (Yellow): war3mapImported\Furblog Tribe.ai (aiscript)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Race of Player 2 (Blue)) Equal to Orc
      Then - Actions
        Unit - Create 1.Satyr Castle for Player 5 (Yellow) at (Center of Enemy_2 <gen>) facing Default building facing degrees
        Unit - Create 5.Satyr Peon for Player 5 (Yellow) at (Center of Workers_2 <gen>) facing Default building facing degrees
        AI - Start melee AI script for Player 5 (Yellow): war3mapImported\Stayer Army.ai (aiscript)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Race of Player 2 (Blue)) Equal to Undead
      Then - Actions
        Unit - Create 1.Spider Tomb for Player 5 (Yellow) at (Center of Enemy_2 <gen>) facing Default building facing degrees
        Unit - Create 3.Spider Acolyte for Player 5 (Yellow) at (Center of Workers_2 <gen>) facing Default building facing degrees
        Unit - Create 1.Tree Spider for Player 5 (Yellow) at (Center of Workers_2 <gen>) facing Default building facing degrees
        AI - Start melee AI script for Player 5 (Yellow): war3mapImported\Spider Force.ai (aiscript)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Race of Player 2 (Blue)) Equal to Night Elf
      Then - Actions
        Unit - Create 1.Murloc Temple for Player 5 (Yellow) at (Center of Enemy_2 <gen>) facing Default building facing degrees
        Unit - Create 5.Murloc Slave for Player 5 (Yellow) at (Center of Workers_2 <gen>) facing Default building facing degrees
        AI - Start melee AI script for Player 5 (Yellow): war3mapImported\Murlock Kingdom.ai (aiscript)
      Else - Actions
        Do nothing
Setup Enemy 3
  Events
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Race of Player 3 (Teal)) Equal to Human
      Then - Actions
        Unit - Create 1.Furbolg Castle for Player 6 (Orange) at (Center of Enemy_3 <gen>) facing Default building facing degrees
        Unit - Create 5.Furbolg Peasant for Player 6 (Orange) at (Center of Workers_3 <gen>) facing Default building facing degrees
        AI - Start melee AI script for Player 6 (Orange): war3mapImported\Furblog Tribe.ai (aiscript)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Race of Player 3 (Teal)) Equal to Orc
      Then - Actions
        Unit - Create 1.Satyr Castle for Player 6 (Orange) at (Center of Enemy_3 <gen>) facing Default building facing degrees
        Unit - Create 5.Satyr Peon for Player 6 (Orange) at (Center of Workers_3 <gen>) facing Default building facing degrees
        AI - Start melee AI script for Player 6 (Orange): war3mapImported\Stayer Army.ai (aiscript)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Race of Player 3 (Teal)) Equal to Undead
      Then - Actions
        Unit - Create 1.Spider Tomb for Player 6 (Orange) at (Center of Enemy_3 <gen>) facing Default building facing degrees
        Unit - Create 3.Spider Acolyte for Player 6 (Orange) at (Center of Workers_3 <gen>) facing Default building facing degrees
        Unit - Create 1.Tree Spider for Player 6 (Orange) at (Center of Workers_3 <gen>) facing Default building facing degrees
        AI - Start melee AI script for Player 6 (Orange): war3mapImported\Spider Force.ai (aiscript)
      Else - Actions
        Do nothing
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Race of Player 3 (Teal)) Equal to Night Elf
      Then - Actions
        Unit - Create 1.Murloc Temple for Player 6 (Orange) at (Center of Enemy_3 <gen>) facing Default building facing degrees
        Unit - Create 5.Murloc Slave for Player 6 (Orange) at (Center of Workers_3 <gen>) facing Default building facing degrees
        AI - Start melee AI script for Player 6 (Orange): war3mapImported\Murlock Kingdom.ai (aiscript)
      Else - Actions
        Do nothing
Quest Main
  Events
    Map initialization
  Conditions
  Actions
    Quest - Create a Required quest titled Creaps's Strike with the description Destroy all creap players before they destroy you., using icon path ReplaceableTextures\CommandButtons\BTNEtherealFormOn.blp
    Set VariableSet MainQuest = (Last created quest)
    Quest - Create a quest requirement for MainQuest with the description Destroy all creap players
    Set VariableSet QuestRequirement = (Last created quest requirement)
    Quest - Flash the quest dialog button
Quest Dragons
  Events
    Time - Elapsed game time is 100.00 seconds
  Conditions
  Actions
    Quest - Create a Required quest titled Dragons with the description Defeat the Dragons that live some where in this region., using icon path ReplaceableTextures\CommandButtons\BTNGreenDragon.blp
    Set VariableSet DragonQuest = (Last created quest)
    Quest - Create a quest requirement for DragonQuest with the description Slay the Dragons
    Set VariableSet DragonRequirement = (Last created quest requirement)
    Quest - Flash the quest dialog button
    Trigger - Turn on Quest_Dragons_Check <gen>
Quest Dragons Check
  Events
    Time - Every 10.00 seconds of game time
  Conditions
  Actions
    If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      If - Conditions
        (Number of living Green Dragon units owned by Neutral Hostile) Equal to 0
      Then - Actions
        Item - Create Mask of Death at (Center of Dragon_Quest_Reword <gen>)
        Game - Display to (All players controlled by a User player) the text: Item created
        Cinematic - Ping minimap for (All players controlled by a User player) at (Center of Dragon_Quest_Reword <gen>) for 3.00 seconds
      Else - Actions
        Do nothing