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

?8?left 4 town II v0.5.w3x
Variables
Initialisierung
Untitled Trigger 005
Nahkampf-Initialisierung
gold
Untitled Trigger 001
Untitled Trigger 002
Untitled Category
Untitled Trigger 010
Untitled Trigger 003
Untitled Category
ice orb
fire and ice repick
fire and ice
Untitled Category
Untitled Trigger 004
Untitled Trigger 006
Untitled Trigger 007
Untitled Trigger 008
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
boolean boolean Yes
interger integer No
item itemtype No
itema item Yes
itemtype imagetype Yes
itemtypearray itemcode Yes
Untitled Trigger 005
  Events
    Time - Every 75.00 seconds of game time
  Conditions
  Actions
    Game - Display to (All players) the text: type -tips to see itemmarry christmas
Vorgegebene Nahkampf-Spielinitialisierung für alle Spieler
Nahkampf-Initialisierung
  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 - Remove creeps and critters from used start locations (for all players)
    Melee Game - Create starting units (for all players)
    Melee Game - Run melee AI scripts (for computer players)
    Melee Game - Enforce victory/defeat conditions (for all players)
    Player - Set Player 1 (Red).Current gold to 1000
    Player - Set Player 2 (Blue).Current gold to 1000
    Player - Set Player 3 (Teal).Current gold to 1000
    Player - Set Player 4 (Purple).Current gold to 1000
    Player - Set Player 5 (Yellow).Current gold to 1000
    Player - Set Player 6 (Orange).Current gold to 1000
    Player - Set Player 7 (Green).Current gold to 1000
    Player - Set Player 8 (Pink).Current gold to 1000
    Player - Set Player 9 (Gray).Current gold to 1000
    Player - Set Player 1 (Red).Current lumber to 750
    Player - Set Player 2 (Blue).Current lumber to 750
    Player - Set Player 3 (Teal).Current lumber to 750
    Player - Set Player 4 (Purple).Current lumber to 750
    Player - Set Player 5 (Yellow).Current lumber to 750
    Player - Set Player 6 (Orange).Current lumber to 750
    Player - Set Player 7 (Green).Current lumber to 750
    Player - Set Player 8 (Pink).Current lumber to 750
    Player - Set Player 9 (Gray).Current lumber to 750
Untitled Trigger 001
  Events
    Time - Every 2 seconds of game time
  Conditions
  Actions
    Player - Add 5 to Player 1 (Red).Current gold
    Player - Add 5 to Player 2 (Blue).Current gold
    Player - Add 5 to Player 4 (Purple).Current gold
    Player - Add 5 to Player 3 (Teal).Current gold
    Player - Add 5 to Player 5 (Yellow).Current gold
    Player - Add 5 to Player 6 (Orange).Current gold
    Player - Add 5 to Player 7 (Green).Current gold
    Player - Add 5 to Player 8 (Pink).Current gold
Untitled Trigger 002
  Events
    Player - Player 1 (Red) types a chat message containing open (stringnoformat) as An exact match
    Player - Player 2 (Blue) types a chat message containing hahaha (stringnoformat) as An exact match
    Player - Player 3 (Teal) types a chat message containing hahaha (stringnoformat) as An exact match
    Player - Player 4 (Purple) types a chat message containing hahaha (stringnoformat) as An exact match
    Player - Player 5 (Yellow) types a chat message containing hahaha (stringnoformat) as An exact match
    Player - Player 6 (Orange) types a chat message containing hahaha (stringnoformat) as An exact match
    Player - Player 7 (Green) types a chat message containing hahaha (stringnoformat) as An exact match
    Player - Player 8 (Pink) types a chat message containing hahaha (stringnoformat) as An exact match
  Conditions
  Actions
    Trigger - Turn on Untitled_Trigger_003 <gen>
Untitled Trigger 010
  Events
  Conditions
  Actions
    Wait 0.50 seconds
    Unit - Make Invulnerable
Untitled Trigger 003
  Events
    Player - Player 1 (Red) types a chat message containing -- (stringnoformat) as An exact match
    Player - Player 2 (Blue) types a chat message containing -- (stringnoformat) as An exact match
    Player - Player 3 (Teal) types a chat message containing -- (stringnoformat) as An exact match
    Player - Player 4 (Purple) types a chat message containing -- (stringnoformat) as An exact match
    Player - Player 5 (Yellow) types a chat message containing -- (stringnoformat) as An exact match
    Player - Player 6 (Orange) types a chat message containing -- (stringnoformat) as An exact match
    Player - Player 7 (Green) types a chat message containing -- (stringnoformat) as An exact match
    Player - Player 8 (Pink) types a chat message containing -- (stringnoformat) as An exact match
  Conditions
  Actions
    Player - Add 700 to Player 1 (Red).Current gold
    Player - Add 500 to Player 2 (Blue).Current gold
    Player - Add 500 to Player 3 (Teal).Current gold
    Player - Add 500 to Player 4 (Purple).Current gold
    Player - Add 500 to Player 5 (Yellow).Current gold
    Player - Add 500 to Player 6 (Orange).Current gold
    Player - Add 500 to Player 7 (Green).Current gold
    Player - Add 500 to Player 8 (Pink).Current gold
    Trigger - Turn off (This trigger)
ice orb
  Events
    Unit - A unit Acquires an item
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Item-type of (Item being manipulated)) Equal to orb
        (Item-type of (Item being manipulated)) Equal to orb of heat
    ((Hero manipulating item) has an item of type orb) Equal to True
    ((Hero manipulating item) has an item of type orb of heat) Equal to True
  Actions
    Set VariableSet interger = 2
    Set VariableSet itemtypearray[1] = orb
    Set VariableSet itemtypearray[2] = orb of heat
    For each (Integer A) from 1 to interger, do (Actions)
      Loop - Actions
        For each (Integer B) from 1 to 6, do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to orb
                (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to orb of heat
                boolean[(Integer B)] Equal to False
              Then - Actions
                Item - Remove (Item carried by (Hero manipulating item) in slot (Integer A))
                Set VariableSet boolean[(Integer B)] = True
              Else - Actions
        Item - Remove (Item carried by (Hero manipulating item) of type orb)
        Item - Remove (Item carried by (Hero manipulating item) of type orb of heat)
        Hero - Create orb ice and give it to (Hero manipulating item)
fire and ice repick
  Events
    Unit - A unit Acquires an item
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Item-type of (Item being manipulated)) Equal to (repick)fire and ice
    ((Hero manipulating item) has an item of type (repick)fire and ice) Equal to True
  Actions
    Set VariableSet interger = 1
    Set VariableSet itemtypearray[1] = (repick)fire and ice
    For each (Integer A) from 1 to interger, do (Actions)
      Loop - Actions
        For each (Integer B) from 1 to 6, do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to (repick)fire and ice
                boolean[(Integer B)] Equal to False
              Then - Actions
                Item - Remove (Item carried by (Hero manipulating item) in slot (Integer A))
                Set VariableSet boolean[(Integer B)] = True
              Else - Actions
        Item - Remove (Item carried by (Hero manipulating item) of type (repick)fire and ice)
        Hero - Create fire and ice and give it to (Hero manipulating item)
fire and ice
  Events
    Unit - A unit Acquires an item
  Conditions
    Or - Any (Conditions) are true
      Conditions
        (Item-type of (Item being manipulated)) Equal to fire and ice
        (Item-type of (Item being manipulated)) Equal to fire
        (Item-type of (Item being manipulated)) Equal to snow
    ((Hero manipulating item) has an item of type fire) Equal to True
    ((Hero manipulating item) has an item of type snow) Equal to True
    ((Hero manipulating item) has an item of type fire and ice) Equal to True
  Actions
    Set VariableSet interger = 1
    Set VariableSet itemtypearray[1] = fire
    Set VariableSet itemtypearray[2] = fire and ice
    Set VariableSet itemtypearray[3] = snow
    For each (Integer A) from 1 to interger, do (Actions)
      Loop - Actions
        For each (Integer B) from 1 to 6, do (Actions)
          Loop - Actions
            If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              If - Conditions
                (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to fire and ice
                (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to snow
                (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to fire
                boolean[(Integer B)] Equal to False
              Then - Actions
                Item - Remove (Item carried by (Hero manipulating item) in slot (Integer A))
                Set VariableSet boolean[(Integer B)] = True
              Else - Actions
        Item - Remove (Item carried by (Hero manipulating item) of type snow)
        Item - Remove (Item carried by (Hero manipulating item) of type fire)
        Item - Remove (Item carried by (Hero manipulating item) of type fire and ice)
        Hero - Create fire and ice and give it to (Hero manipulating item)
Untitled Trigger 004
  Events
    Player - Player 1 (Red) types a chat message containing -swap (stringnoformat) as An exact match
  Conditions
  Actions
    Player Group - Add Player 1 (Red) to (All allies of Player 2 (Blue).)
    Player Group - Add Player 3 (Teal) to (All allies of Player 4 (Purple).)
    Player Group - Add Player 5 (Yellow) to (All allies of Player 6 (Orange).)
    Player Group - Add Player 7 (Green) to (All allies of Player 8 (Pink).)
    Wait 180.00 seconds
    Trigger - Turn off (This trigger)
Untitled Trigger 006
  Events
    Player - Player 1 (Red) types a chat message containing -tips (stringnoformat) as An exact match
    Player - Player 2 (Blue) types a chat message containing -tips (stringnoformat) as An exact match
    Player - Player 3 (Teal) types a chat message containing -tips (stringnoformat) as An exact match
    Player - Player 4 (Purple) types a chat message containing -tips (stringnoformat) as An exact match
    Player - Player 5 (Yellow) types a chat message containing -tips (stringnoformat) as An exact match
    Player - Player 6 (Orange) types a chat message containing -tips (stringnoformat) as An exact match
    Player - Player 7 (Green) types a chat message containing -tips (stringnoformat) as An exact match
    Player - Player 8 (Pink) types a chat message containing -tips (stringnoformat) as An exact match
  Conditions
  Actions
    Game - Display to (All players) the text: type-tips ice,-tips inf
Untitled Trigger 007
  Events
    Player - Player 1 (Red) types a chat message containing -tips ice (stringnoformat) as An exact match
    Player - Player 2 (Blue) types a chat message containing -tips ice (stringnoformat) as An exact match
    Player - Player 3 (Teal) types a chat message containing -tips ice (stringnoformat) as An exact match
    Player - Player 4 (Purple) types a chat message containing -tips ice (stringnoformat) as An exact match
    Player - Player 5 (Yellow) types a chat message containing -tips ice (stringnoformat) as An exact match
    Player - Player 6 (Orange) types a chat message containing -tips ice (stringnoformat) as An exact match
    Player - Player 7 (Green) types a chat message containing -tips ice (stringnoformat) as An exact match
    Player - Player 8 (Pink) types a chat message containing -tips ice (stringnoformat) as An exact match
  Conditions
  Actions
    Game - Display to (All players) the text: |c00000000Orc ice buy orb + orb of heat =900+900
Untitled Trigger 008
  Events
    Player - Player 1 (Red) types a chat message containing -tips inf (stringnoformat) as An exact match
    Player - Player 2 (Blue) types a chat message containing -tips inf (stringnoformat) as An exact match
    Player - Player 3 (Teal) types a chat message containing -tips inf (stringnoformat) as An exact match
    Player - Player 4 (Purple) types a chat message containing -tips inf (stringnoformat) as An exact match
    Player - Player 5 (Yellow) types a chat message containing -tips inf (stringnoformat) as An exact match
    Player - Player 6 (Orange) types a chat message containing -tips inf (stringnoformat) as An exact match
    Player - Player 7 (Green) types a chat message containing -tips inf (stringnoformat) as An exact match
    Player - Player 8 (Pink) types a chat message containing -tips inf (stringnoformat) as An exact match
  Conditions
  Actions
    Game - Display to (All players) the text: |c00000000ice and fire ice+ fire + repick =750+750+500