1. Find your way through the deepest dungeon in the 18th Mini Mapping Contest Poll.
    Dismiss Notice
  2. A brave new world lies beyond the seven seas. Join the 34th Modeling Contest today!
    Dismiss Notice
  3. 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.

[Miscellanous / Other] Need someone who knows triggers. Map - Dota Frenzy

Discussion in 'Map Development' started by stimmedmarine, Apr 7, 2013.

  1. stimmedmarine

    stimmedmarine

    Joined:
    Aug 8, 2011
    Messages:
    284
    Resources:
    0
    Resources:
    0
    Im looking for someone who knows triggers very well. I got some problems with the Arena Trigger system, and this has realy stalled my further work on the map.

    Im building a Dota Footmen map, ive build on it for 12 month.


    My goal is to mix Dota, Arena and Footmen Frenzy to a strategi map with lots of options.

    Goal atm: Help with fixing Arena System Triggers, Making more heroes and balancing.

    Future goals: Turn Based map.

    Check out the map here:
     

    Attached Files:

    Last edited: Apr 10, 2013
  2. stimmedmarine

    stimmedmarine

    Joined:
    Aug 8, 2011
    Messages:
    284
    Resources:
    0
    Resources:
    0
    Still need a build partner with Trigger knowledge.
     
  3. stimmedmarine

    stimmedmarine

    Joined:
    Aug 8, 2011
    Messages:
    284
    Resources:
    0
    Resources:
    0
  4. Almia

    Almia

    Joined:
    Apr 24, 2012
    Messages:
    4,842
    Resources:
    35
    Spells:
    30
    Tutorials:
    4
    JASS:
    1
    Resources:
    35
    Bump only every 48 hours.

    Did you know that we hate DotA replicas here?
    So,for that,good bye.
     
  5. stimmedmarine

    stimmedmarine

    Joined:
    Aug 8, 2011
    Messages:
    284
    Resources:
    0
    Resources:
    0
  6. Orthane

    Orthane

    Joined:
    Jan 22, 2013
    Messages:
    290
    Resources:
    0
    Resources:
    0
    I will fix your trigger, but you must first post it here, not the map.
     
  7. stimmedmarine

    stimmedmarine

    Joined:
    Aug 8, 2011
    Messages:
    284
    Resources:
    0
    Resources:
    0
    Its more than 1 trigger. Its many triggers. The guy who worked on the map with me has semi left the project so i stand alone with half done triggers i cant do myself.

    Arena Trigger
    • Init Time
      • Events
        • Time - ArenaTime expires
      • Conditions
      • Actions
        • Game - Display to (All players) the text: DEBUG--001: ARENA S...
        • Countdown Timer - Pause Spawn37s
        • Countdown Timer - Pause MinionSpawn
        • Set TempInteger2 = 0
        • Unit - Pause all units
        • Player Group - Pick every player in SENTINELS and do (Actions)
          • Loop - Actions
            • Player Group - Add (Picked player) to ArenaPG1
        • Player Group - Pick every player in SCOURGE and do (Actions)
          • Loop - Actions
            • Player Group - Add (Picked player) to ArenaPG2
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • ArenaS Greater than 6
          • Then - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • ArenaS Equal to 7
              • Then - Actions
                • Set TempInteger = (Random integer number between 1 and 6)
              • Else - Actions
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • ArenaByorder Equal to 6
                  • Then - Actions
                    • Set ArenaByorder = 1
                  • Else - Actions
                    • Set ArenaByorder = (ArenaByorder + 1)
                • Set TempInteger = ArenaByorder
            • Trigger - Run ArenaInitTrig[TempInteger] (ignoring conditions)
          • Else - Actions
            • Trigger - Run ArenaInitTrig[ArenaS] (ignoring conditions)


    Arena Trigger
    • INIT AR1
      • Events
      • Conditions
      • Actions
        • Set TempPoint = (Center of ABT1Se <gen>)
        • Set TempPoint2 = (Center of ABT1Sc <gen>)
        • Player Group - Pick every player in SENTINELS and do (Actions)
          • Loop - Actions
            • Set Temp_Player = (Picked player)
            • Set TempInteger = (Player number of Temp_Player)
            • Set Temp_Unit2 = HERO[TempInteger]
            • Camera - Pan camera for Temp_Player to TempPoint over 0.00 seconds
            • Unit - Create 1 (Unit-type of Temp_Unit2) for Temp_Player at TempPoint facing 180.00 degrees
            • Set Temp_Unit = (Last created unit)
            • Unit Group - Add Temp_Unit to ArenaSe
            • Set ArenafighterF[TempInteger] = Temp_Unit
            • For each (Integer Temp_integer) from 1 to 6, do (Actions)
              • Loop - Actions
                • Set Temp_ItemT = (Item-type of (Item carried by Temp_Unit2 in slot Temp_integer))
                • Hero - Create Temp_ItemT and give it to Temp_Unit
            • Hero - Set Temp_Unit experience to (Hero experience of Temp_Unit2), Hide level-up graphics
            • Hero - Modify Agility of Temp_Unit: Set to (Agility of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Intelligence of Temp_Unit: Set to (Intelligence of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Strength of Temp_Unit: Set to (Strength of Temp_Unit2 (Exclude bonuses))
            • Game - Display to (All players) the text: (DEBUG--Player + (Name of Temp_Player))
            • For each (Integer Temp_integer) from 1 to SkillPlInt[TempInteger], do (Actions)
              • Loop - Actions
                • Set TempInteger2 = (Load TempInteger of Temp_integer from SkillsHash)
                • Custom script: call SelectHeroSkill( udg_Temp_Unit, udg_TempInteger2 )
                • Game - Display to (All players) the text: (DEBUG-- + ((String(Temp_integer)) + ( Loaded skill : --- : + (String(TempInteger2)))))
        • Player Group - Pick every player in SCOURGE and do (Actions)
          • Loop - Actions
            • Set Temp_Player = (Picked player)
            • Set TempInteger = (Player number of Temp_Player)
            • Set Temp_Unit2 = HERO[TempInteger]
            • Camera - Pan camera for Temp_Player to TempPoint2 over 0.00 seconds
            • Unit - Create 1 (Unit-type of Temp_Unit2) for Temp_Player at TempPoint2 facing 180.00 degrees
            • Set Temp_Unit = (Last created unit)
            • Unit Group - Add Temp_Unit to ArenaSc
            • Set ArenafighterF[TempInteger] = Temp_Unit
            • For each (Integer Temp_integer) from 1 to 6, do (Actions)
              • Loop - Actions
                • Set Temp_ItemT = (Item-type of (Item carried by Temp_Unit2 in slot Temp_integer))
                • Hero - Create Temp_ItemT and give it to Temp_Unit
            • Hero - Set Temp_Unit experience to (Hero experience of Temp_Unit2), Hide level-up graphics
            • Hero - Modify Agility of Temp_Unit: Set to (Agility of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Intelligence of Temp_Unit: Set to (Intelligence of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Strength of Temp_Unit: Set to (Strength of Temp_Unit2 (Exclude bonuses))
            • Game - Display to (All players) the text: (DEBUG--Player + (Name of Temp_Player))
            • For each (Integer Temp_integer) from 1 to SkillPlInt[TempInteger], do (Actions)
              • Loop - Actions
                • Set TempInteger2 = (Load TempInteger of Temp_integer from SkillsHash)
                • Custom script: call SelectHeroSkill( udg_Temp_Unit, udg_TempInteger2 )
                • Game - Display to (All players) the text: (DEBUG-- + ((String(Temp_integer)) + ( Loaded skill : --- : + (String(TempInteger2)))))
        • Custom script: call RemoveLocation(udg_TempPoint)
        • Custom script: call RemoveLocation(udg_TempPoint2)
        • Unit - Pause all units
        • Set ArenaCountdown = 6
        • Trigger - Turn on Init Count 2 <gen>


    Arena Trigger
    • INIT AR2
      • Events
      • Conditions
      • Actions
        • Set TempPoint = (Center of ABT2Se <gen>)
        • Set TempPoint2 = (Center of ABT2Sc <gen>)
        • Player Group - Pick every player in SENTINELS and do (Actions)
          • Loop - Actions
            • Set Temp_Player = (Picked player)
            • Set TempInteger = (Player number of Temp_Player)
            • Set Temp_Unit2 = HERO[TempInteger]
            • Camera - Pan camera for Temp_Player to TempPoint over 0.00 seconds
            • Unit - Create 1 (Unit-type of Temp_Unit2) for Temp_Player at TempPoint facing 180.00 degrees
            • Set Temp_Unit = (Last created unit)
            • Unit Group - Add Temp_Unit to ArenaSe
            • Set ArenafighterF[TempInteger] = Temp_Unit
            • For each (Integer Temp_integer) from 1 to 6, do (Actions)
              • Loop - Actions
                • Set Temp_ItemT = (Item-type of (Item carried by Temp_Unit2 in slot Temp_integer))
                • Hero - Create Temp_ItemT and give it to Temp_Unit
            • Hero - Set Temp_Unit experience to (Hero experience of Temp_Unit2), Hide level-up graphics
            • Hero - Modify Agility of Temp_Unit: Set to (Agility of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Intelligence of Temp_Unit: Set to (Intelligence of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Strength of Temp_Unit: Set to (Strength of Temp_Unit2 (Exclude bonuses))
            • Game - Display to (All players) the text: (DEBUG--Player + (Name of Temp_Player))
            • For each (Integer Temp_integer) from 1 to SkillPlInt[TempInteger], do (Actions)
              • Loop - Actions
                • Set TempInteger2 = (Load TempInteger of Temp_integer from SkillsHash)
                • Custom script: call SelectHeroSkill( udg_Temp_Unit, udg_TempInteger2 )
                • Game - Display to (All players) the text: (DEBUG-- + ((String(Temp_integer)) + ( Loaded skill : --- : + (String(TempInteger2)))))
        • Player Group - Pick every player in SCOURGE and do (Actions)
          • Loop - Actions
            • Set Temp_Player = (Picked player)
            • Set TempInteger = (Player number of Temp_Player)
            • Set Temp_Unit2 = HERO[TempInteger]
            • Camera - Pan camera for Temp_Player to TempPoint2 over 0.00 seconds
            • Unit - Create 1 (Unit-type of Temp_Unit2) for Temp_Player at TempPoint2 facing 180.00 degrees
            • Set Temp_Unit = (Last created unit)
            • Unit Group - Add Temp_Unit to ArenaSc
            • Set ArenafighterF[TempInteger] = Temp_Unit
            • For each (Integer Temp_integer) from 1 to 6, do (Actions)
              • Loop - Actions
                • Set Temp_ItemT = (Item-type of (Item carried by Temp_Unit2 in slot Temp_integer))
                • Hero - Create Temp_ItemT and give it to Temp_Unit
            • Hero - Set Temp_Unit experience to (Hero experience of Temp_Unit2), Hide level-up graphics
            • Hero - Modify Agility of Temp_Unit: Set to (Agility of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Intelligence of Temp_Unit: Set to (Intelligence of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Strength of Temp_Unit: Set to (Strength of Temp_Unit2 (Exclude bonuses))
            • Game - Display to (All players) the text: (DEBUG--Player + (Name of Temp_Player))
            • For each (Integer Temp_integer) from 1 to SkillPlInt[TempInteger], do (Actions)
              • Loop - Actions
                • Set TempInteger2 = (Load TempInteger of Temp_integer from SkillsHash)
                • Custom script: call SelectHeroSkill( udg_Temp_Unit, udg_TempInteger2 )
                • Game - Display to (All players) the text: (DEBUG-- + ((String(Temp_integer)) + ( Loaded skill : --- : + (String(TempInteger2)))))
        • Custom script: call RemoveLocation(udg_TempPoint)
        • Custom script: call RemoveLocation(udg_TempPoint2)
        • Unit - Pause all units
        • Set ArenaCountdown = 6
        • Trigger - Turn on Init Count 2 <gen>


    Arena Trigger
    • INIT AR3
      • Events
      • Conditions
      • Actions
        • Set TempPoint = (Center of ABT3Se <gen>)
        • Set TempPoint2 = (Center of ABT3Sc <gen>)
        • Player Group - Pick every player in SENTINELS and do (Actions)
          • Loop - Actions
            • Set Temp_Player = (Picked player)
            • Set TempInteger = (Player number of Temp_Player)
            • Set Temp_Unit2 = HERO[TempInteger]
            • Camera - Pan camera for Temp_Player to TempPoint over 0.00 seconds
            • Unit - Create 1 (Unit-type of Temp_Unit2) for Temp_Player at TempPoint facing 180.00 degrees
            • Set Temp_Unit = (Last created unit)
            • Unit Group - Add Temp_Unit to ArenaSe
            • Set ArenafighterF[TempInteger] = Temp_Unit
            • For each (Integer Temp_integer) from 1 to 6, do (Actions)
              • Loop - Actions
                • Set Temp_ItemT = (Item-type of (Item carried by Temp_Unit2 in slot Temp_integer))
                • Hero - Create Temp_ItemT and give it to Temp_Unit
            • Hero - Set Temp_Unit experience to (Hero experience of Temp_Unit2), Hide level-up graphics
            • Hero - Modify Agility of Temp_Unit: Set to (Agility of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Intelligence of Temp_Unit: Set to (Intelligence of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Strength of Temp_Unit: Set to (Strength of Temp_Unit2 (Exclude bonuses))
            • Game - Display to (All players) the text: (DEBUG--Player + (Name of Temp_Player))
            • For each (Integer Temp_integer) from 1 to SkillPlInt[TempInteger], do (Actions)
              • Loop - Actions
                • Set TempInteger2 = (Load TempInteger of Temp_integer from SkillsHash)
                • Custom script: call SelectHeroSkill( udg_Temp_Unit, udg_TempInteger2 )
                • Game - Display to (All players) the text: (DEBUG-- + ((String(Temp_integer)) + ( Loaded skill : --- : + (String(TempInteger2)))))
        • Player Group - Pick every player in SCOURGE and do (Actions)
          • Loop - Actions
            • Set Temp_Player = (Picked player)
            • Set TempInteger = (Player number of Temp_Player)
            • Set Temp_Unit2 = HERO[TempInteger]
            • Camera - Pan camera for Temp_Player to TempPoint2 over 0.00 seconds
            • Unit - Create 1 (Unit-type of Temp_Unit2) for Temp_Player at TempPoint2 facing 180.00 degrees
            • Set Temp_Unit = (Last created unit)
            • Unit Group - Add Temp_Unit to ArenaSc
            • Set ArenafighterF[TempInteger] = Temp_Unit
            • For each (Integer Temp_integer) from 1 to 6, do (Actions)
              • Loop - Actions
                • Set Temp_ItemT = (Item-type of (Item carried by Temp_Unit2 in slot Temp_integer))
                • Hero - Create Temp_ItemT and give it to Temp_Unit
            • Hero - Set Temp_Unit experience to (Hero experience of Temp_Unit2), Hide level-up graphics
            • Hero - Modify Agility of Temp_Unit: Set to (Agility of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Intelligence of Temp_Unit: Set to (Intelligence of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Strength of Temp_Unit: Set to (Strength of Temp_Unit2 (Exclude bonuses))
            • Game - Display to (All players) the text: (DEBUG--Player + (Name of Temp_Player))
            • For each (Integer Temp_integer) from 1 to SkillPlInt[TempInteger], do (Actions)
              • Loop - Actions
                • Set TempInteger2 = (Load TempInteger of Temp_integer from SkillsHash)
                • Custom script: call SelectHeroSkill( udg_Temp_Unit, udg_TempInteger2 )
                • Game - Display to (All players) the text: (DEBUG-- + ((String(Temp_integer)) + ( Loaded skill : --- : + (String(TempInteger2)))))
        • Custom script: call RemoveLocation(udg_TempPoint)
        • Custom script: call RemoveLocation(udg_TempPoint2)
        • Unit - Pause all units
        • Set ArenaCountdown = 6
        • Trigger - Turn on Init Count 2 <gen>


    Arena Trigger
    • INIT AR4
      • Events
      • Conditions
      • Actions
        • Hashtable - Save Handle OfTempPoint as 25 of 45 in Starfall_Hashtable
        • Set TempInteger2 = (TempInteger2 + 1)
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • Or - Any (Conditions) are true
              • Conditions
                • (Number of players in ArenaPG1) Equal to 0
                • (Number of players in ArenaPG2) Equal to 0
          • Then - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Number of players in ArenaPG1) Equal to 0
                • (Number of players in ArenaPG2) Equal to 1
              • Then - Actions
                • Set Temp_Player = (Random player from ArenaPG2)
              • Else - Actions
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • (Number of players in ArenaPG1) Equal to 1
                    • (Number of players in ArenaPG2) Equal to 0
                  • Then - Actions
                    • Set Temp_Player = (Random player from ArenaPG1)
                  • Else - Actions
                    • Unit - Pause all units
                    • Set ArenaCountdown = 6
                    • Trigger - Turn on Init Count 2 <gen>
                    • Skip remaining actions
            • Set TempPoint = (Center of TLAReg[TempInteger2])
            • Camera - Pan camera for Temp_Player to TempPoint over 0.00 seconds
            • Set TempInteger = (Player number of Temp_Player)
            • Set Temp_Unit2 = HERO[TempInteger]
            • Unit - Create 1 (Unit-type of Temp_Unit2) for Temp_Player at TempPoint facing 90.00 degrees
            • Custom script: call RemoveLocation(udg_TempPoint)
            • Set Temp_Unit = (Last created unit)
            • If (TempInteger Less than 7) then do (Unit Group - Add Temp_Unit to ArenaSe) else do (Unit Group - Add Temp_Unit to ArenaSc)
            • Set Arenafighter[TempInteger2] = Temp_Unit
            • Set ArenafighterF[TempInteger] = Temp_Unit
            • For each (Integer Temp_integer) from 1 to 6, do (Actions)
              • Loop - Actions
                • Set Temp_ItemT = (Item-type of (Item carried by Temp_Unit2 in slot Temp_integer))
                • Hero - Create Temp_ItemT and give it to Temp_Unit
            • Hero - Set Temp_Unit experience to (Hero experience of Temp_Unit2), Hide level-up graphics
            • Hero - Modify Agility of Temp_Unit: Set to (Agility of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Intelligence of Temp_Unit: Set to (Intelligence of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Strength of Temp_Unit: Set to (Strength of Temp_Unit2 (Exclude bonuses))
            • Game - Display to (All players) the text: (DEBUG--Player + (Name of Temp_Player))
            • For each (Integer Temp_integer) from 1 to SkillPlInt[TempInteger], do (Actions)
              • Loop - Actions
                • Set TempInteger2 = (Load TempInteger of Temp_integer from SkillsHash)
                • Custom script: call SelectHeroSkill( udg_Temp_Unit, udg_TempInteger2 )
                • Game - Display to (All players) the text: (DEBUG-- + ((String(TempInteger)) + ( Loaded skill : --- : + (String(TempInteger2)))))
            • Set ArenaCountdown = 6
            • Trigger - Turn on Init Count 2 <gen>
            • Unit - Pause all units
          • Else - Actions
            • Set TempPoint = (Center of TLAReg[TempInteger2])
            • Set TempPoint2 = (TempPoint offset by 300.00 towards 180.00 degrees)
            • Set TempPoint3 = (TempPoint offset by 300.00 towards 0.00 degrees)
            • Custom script: call RemoveLocation(udg_TempPoint)
            • -------- ===================================== --------
            • Set Temp_Player = (Random player from ArenaPG1)
            • Player Group - Remove Temp_Player from ArenaPG1
            • Set TempInteger = (Player number of Temp_Player)
            • Set Temp_Unit2 = HERO[TempInteger]
            • Unit - Create 1 (Unit-type of Temp_Unit2) for Temp_Player at TempPoint2 facing 180.00 degrees
            • Custom script: call RemoveLocation(udg_TempPoint2)
            • Set Temp_Unit = (Last created unit)
            • Unit Group - Add Temp_Unit to ArenaSe
            • Set Arenafighter[TempInteger2] = Temp_Unit
            • Set ArenafighterF[TempInteger] = Temp_Unit
            • For each (Integer Temp_integer) from 1 to 6, do (Actions)
              • Loop - Actions
                • Set Temp_ItemT = (Item-type of (Item carried by Temp_Unit2 in slot Temp_integer))
                • Hero - Create Temp_ItemT and give it to Temp_Unit
            • Hero - Set Temp_Unit experience to (Hero experience of Temp_Unit2), Hide level-up graphics
            • Hero - Modify Agility of Temp_Unit: Set to (Agility of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Intelligence of Temp_Unit: Set to (Intelligence of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Strength of Temp_Unit: Set to (Strength of Temp_Unit2 (Exclude bonuses))
            • Game - Display to (All players) the text: (DEBUG--Player + (Name of Temp_Player))
            • For each (Integer Temp_integer) from 1 to SkillPlInt[TempInteger], do (Actions)
              • Loop - Actions
                • Set TempInteger2 = (Load TempInteger of Temp_integer from SkillsHash)
                • Custom script: call SelectHeroSkill( udg_Temp_Unit, udg_TempInteger2 )
                • Game - Display to (All players) the text: (DEBUG-- + ((String(Temp_integer)) + ( Loaded skill : --- : + (String(TempInteger2)))))
            • -------- ==================================================================================================================================================== --------
            • Set Temp_Player = (Random player from ArenaPG2)
            • Player Group - Remove Temp_Player from ArenaPG2
            • Set TempInteger = (Player number of Temp_Player)
            • Set Temp_Unit2 = HERO[TempInteger]
            • Unit - Create 1 (Unit-type of Temp_Unit2) for Temp_Player at TempPoint3 facing 0.00 degrees
            • Custom script: call RemoveLocation(udg_TempPoint3)
            • Set Temp_Unit = (Last created unit)
            • Unit Group - Add Temp_Unit to ArenaSc
            • Set Arenafighter[(TempInteger2 + 6)] = Temp_Unit
            • Set ArenafighterF[TempInteger] = Temp_Unit
            • For each (Integer Temp_integer) from 1 to 6, do (Actions)
              • Loop - Actions
                • Set Temp_ItemT = (Item-type of (Item carried by Temp_Unit2 in slot Temp_integer))
                • Hero - Create Temp_ItemT and give it to Temp_Unit
            • Hero - Set Temp_Unit experience to (Hero experience of Temp_Unit2), Hide level-up graphics
            • Hero - Modify Agility of Temp_Unit: Set to (Agility of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Intelligence of Temp_Unit: Set to (Intelligence of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Strength of Temp_Unit: Set to (Strength of Temp_Unit2 (Exclude bonuses))
            • Game - Display to (All players) the text: (DEBUG--Player + (Name of Temp_Player))
            • For each (Integer Temp_integer) from 1 to SkillPlInt[TempInteger], do (Actions)
              • Loop - Actions
                • Set TempInteger2 = (Load TempInteger of Temp_integer from SkillsHash)
                • Custom script: call SelectHeroSkill( udg_Temp_Unit, udg_TempInteger2 )
                • Game - Display to (All players) the text: (DEBUG-- + ((String(Temp_integer)) + ( Loaded skill : --- : + (String(TempInteger2)))))
            • -------- ==================================================================================================================================================== --------
            • Trigger - Run (This trigger) (checking conditions)


    Arena Trigger
    • INIT AR5
      • Events
      • Conditions
      • Actions
        • Set TempPoint = (Center of ABT5Se <gen>)
        • Set TempPoint2 = (Center of ABT5Sc <gen>)
        • Player Group - Pick every player in SENTINELS and do (Actions)
          • Loop - Actions
            • Set Temp_Player = (Picked player)
            • Set TempInteger = (Player number of Temp_Player)
            • Set Temp_Unit2 = HERO[TempInteger]
            • Camera - Pan camera for Temp_Player to TempPoint over 0.00 seconds
            • Unit - Create 1 (Unit-type of Temp_Unit2) for Temp_Player at TempPoint facing 180.00 degrees
            • Set Temp_Unit = (Last created unit)
            • Unit Group - Add Temp_Unit to ArenaSe
            • Set ArenafighterF[TempInteger] = Temp_Unit
            • For each (Integer Temp_integer) from 1 to 6, do (Actions)
              • Loop - Actions
                • Set Temp_ItemT = (Item-type of (Item carried by Temp_Unit2 in slot Temp_integer))
                • Hero - Create Temp_ItemT and give it to Temp_Unit
            • Hero - Set Temp_Unit experience to (Hero experience of Temp_Unit2), Hide level-up graphics
            • Hero - Modify Agility of Temp_Unit: Set to (Agility of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Intelligence of Temp_Unit: Set to (Intelligence of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Strength of Temp_Unit: Set to (Strength of Temp_Unit2 (Exclude bonuses))
            • Game - Display to (All players) the text: (DEBUG--Player + (Name of Temp_Player))
            • For each (Integer Temp_integer) from 1 to SkillPlInt[TempInteger], do (Actions)
              • Loop - Actions
                • Set TempInteger2 = (Load TempInteger of Temp_integer from SkillsHash)
                • Custom script: call SelectHeroSkill( udg_Temp_Unit, udg_TempInteger2 )
                • Game - Display to (All players) the text: (DEBUG-- + ((String(Temp_integer)) + ( Loaded skill : --- : + (String(TempInteger2)))))
        • Player Group - Pick every player in SCOURGE and do (Actions)
          • Loop - Actions
            • Set Temp_Player = (Picked player)
            • Set TempInteger = (Player number of Temp_Player)
            • Set Temp_Unit2 = HERO[TempInteger]
            • Camera - Pan camera for Temp_Player to TempPoint2 over 0.00 seconds
            • Unit - Create 1 (Unit-type of Temp_Unit2) for Temp_Player at TempPoint2 facing 180.00 degrees
            • Set Temp_Unit = (Last created unit)
            • Unit Group - Add Temp_Unit to ArenaSc
            • Set ArenafighterF[TempInteger] = Temp_Unit
            • For each (Integer Temp_integer) from 1 to 6, do (Actions)
              • Loop - Actions
                • Set Temp_ItemT = (Item-type of (Item carried by Temp_Unit2 in slot Temp_integer))
                • Hero - Create Temp_ItemT and give it to Temp_Unit
            • Hero - Set Temp_Unit experience to (Hero experience of Temp_Unit2), Hide level-up graphics
            • Hero - Modify Agility of Temp_Unit: Set to (Agility of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Intelligence of Temp_Unit: Set to (Intelligence of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Strength of Temp_Unit: Set to (Strength of Temp_Unit2 (Exclude bonuses))
            • Game - Display to (All players) the text: (DEBUG--Player + (Name of Temp_Player))
            • For each (Integer Temp_integer) from 1 to SkillPlInt[TempInteger], do (Actions)
              • Loop - Actions
                • Set TempInteger2 = (Load TempInteger of Temp_integer from SkillsHash)
                • Custom script: call SelectHeroSkill( udg_Temp_Unit, udg_TempInteger2 )
                • Game - Display to (All players) the text: (DEBUG-- + ((String(Temp_integer)) + ( Loaded skill : --- : + (String(TempInteger2)))))
        • Custom script: call RemoveLocation(udg_TempPoint)
        • Custom script: call RemoveLocation(udg_TempPoint2)
        • Unit - Pause all units
        • Set ArenaCountdown = 6
        • Trigger - Turn on Init Count 2 <gen>


    Arena Trigger
    • INIT AR6
      • Events
      • Conditions
      • Actions
        • Set TempPoint = (Center of ABT6Se <gen>)
        • Set TempPoint2 = (Center of ABT6Sc <gen>)
        • Player Group - Pick every player in SENTINELS and do (Actions)
          • Loop - Actions
            • Set Temp_Player = (Picked player)
            • Set TempInteger = (Player number of Temp_Player)
            • Set Temp_Unit2 = HERO[TempInteger]
            • Camera - Pan camera for Temp_Player to TempPoint over 0.00 seconds
            • Unit - Create 1 (Unit-type of Temp_Unit2) for Temp_Player at TempPoint facing 180.00 degrees
            • Set Temp_Unit = (Last created unit)
            • Unit Group - Add Temp_Unit to ArenaSe
            • Set ArenafighterF[TempInteger] = Temp_Unit
            • For each (Integer Temp_integer) from 1 to 6, do (Actions)
              • Loop - Actions
                • Set Temp_ItemT = (Item-type of (Item carried by Temp_Unit2 in slot Temp_integer))
                • Hero - Create Temp_ItemT and give it to Temp_Unit
            • Hero - Set Temp_Unit experience to (Hero experience of Temp_Unit2), Hide level-up graphics
            • Hero - Modify Agility of Temp_Unit: Set to (Agility of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Intelligence of Temp_Unit: Set to (Intelligence of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Strength of Temp_Unit: Set to (Strength of Temp_Unit2 (Exclude bonuses))
            • Game - Display to (All players) the text: (DEBUG--Player + (Name of Temp_Player))
            • For each (Integer Temp_integer) from 1 to SkillPlInt[TempInteger], do (Actions)
              • Loop - Actions
                • Set TempInteger2 = (Load TempInteger of Temp_integer from SkillsHash)
                • Custom script: call SelectHeroSkill( udg_Temp_Unit, udg_TempInteger2 )
                • Game - Display to (All players) the text: (DEBUG-- + ((String(Temp_integer)) + ( Loaded skill : --- : + (String(TempInteger2)))))
        • Player Group - Pick every player in SCOURGE and do (Actions)
          • Loop - Actions
            • Set Temp_Player = (Picked player)
            • Set TempInteger = (Player number of Temp_Player)
            • Set Temp_Unit2 = HERO[TempInteger]
            • Camera - Pan camera for Temp_Player to TempPoint2 over 0.00 seconds
            • Unit - Create 1 (Unit-type of Temp_Unit2) for Temp_Player at TempPoint2 facing 180.00 degrees
            • Set Temp_Unit = (Last created unit)
            • Unit Group - Add Temp_Unit to ArenaSc
            • Set ArenafighterF[TempInteger] = Temp_Unit
            • For each (Integer Temp_integer) from 1 to 6, do (Actions)
              • Loop - Actions
                • Set Temp_ItemT = (Item-type of (Item carried by Temp_Unit2 in slot Temp_integer))
                • Hero - Create Temp_ItemT and give it to Temp_Unit
            • Hero - Set Temp_Unit experience to (Hero experience of Temp_Unit2), Hide level-up graphics
            • Hero - Modify Agility of Temp_Unit: Set to (Agility of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Intelligence of Temp_Unit: Set to (Intelligence of Temp_Unit2 (Exclude bonuses))
            • Hero - Modify Strength of Temp_Unit: Set to (Strength of Temp_Unit2 (Exclude bonuses))
            • Game - Display to (All players) the text: (DEBUG--Player + (Name of Temp_Player))
            • For each (Integer Temp_integer) from 1 to SkillPlInt[TempInteger], do (Actions)
              • Loop - Actions
                • Set TempInteger2 = (Load TempInteger of Temp_integer from SkillsHash)
                • Custom script: call SelectHeroSkill( udg_Temp_Unit, udg_TempInteger2 )
                • Game - Display to (All players) the text: (DEBUG-- + ((String(Temp_integer)) + ( Loaded skill : --- : + (String(TempInteger2)))))
        • Custom script: call RemoveLocation(udg_TempPoint)
        • Custom script: call RemoveLocation(udg_TempPoint2)
        • Unit - Pause all units
        • Set ArenaCountdown = 6
        • Trigger - Turn on Init Count 2 <gen>


    Arena Trigger
    • Init Count 2
      • Events
        • Time - Every 1.00 seconds of game time
      • Conditions
      • Actions
        • Set ArenaCountdown = (ArenaCountdown - 1)
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • ArenaCountdown Equal to 0
          • Then - Actions
            • Game - Display to (All players) the text: |cffFF0000 FIGHT|r
            • Set Temp_UnitGroup = (Units in Arenas <gen>)
            • Unit Group - Pick every unit in Temp_UnitGroup and do (Actions)
              • Loop - Actions
                • Unit - Unpause (Picked unit)
            • Custom script: call DestroyGroup(udg_Temp_UnitGroup)
            • Set Temp_UnitGroup = (Units in Arenas2 <gen>)
            • Unit Group - Pick every unit in Temp_UnitGroup and do (Actions)
              • Loop - Actions
                • Unit - Unpause (Picked unit)
            • Custom script: call DestroyGroup(udg_Temp_UnitGroup)
            • Trigger - Turn on Kill TL <gen>
            • Trigger - Turn off (This trigger)
          • Else - Actions
            • Game - Display to (All players) for 1.00 seconds the text: (Ready to fight in |CffFF0000 + ((String(ArenaCountdown)) + |r seconds))



    Arena Trigger
    • Kill TL
      • Events
        • Unit - A unit Dies
      • Conditions
      • Actions
        • Set Temp_Unit = (Triggering unit)
        • Set Temp_Unit2 = (Killing unit)
        • Set Temp_Player = (Owner of Temp_Unit)
        • Set Temp_Player2 = (Owner of Temp_Unit2)
        • For each (Integer TempInteger) from 1 to 12, do (Actions)
          • Loop - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • Temp_Unit Equal to ArenafighterF[TempInteger]
              • Then - Actions
                • Unit Group - Remove (Triggering unit) from ArenaSc
                • Unit Group - Remove (Triggering unit) from ArenaSe
                • Set Temp_Group = (Units in Arenas <gen> owned by Temp_Player)
                • Unit Group - Pick every unit in Temp_UnitGroup and do (Actions)
                  • Loop - Actions
                    • Unit - Remove (Picked unit) from the game
                • Custom script: call DestroyGroup(udg_Temp_Group)
                • Set Temp_Group = (Units in Arenas2 <gen> owned by Temp_Player)
                • Unit Group - Pick every unit in Temp_UnitGroup and do (Actions)
                  • Loop - Actions
                    • Unit - Remove (Picked unit) from the game
                • Custom script: call DestroyGroup(udg_Temp_Group)
                • Player - Add 150 to Temp_Player2 Current gold
                • Game - Display to (All players) the text: ((|cffFF0000 + (Name of Temp_Player)) + (|r has lost on the arena by |cff0000FF + ((Name of Temp_Player2) + (|r. Award |cffFFFF00150|r to |cff0000FF + (Name of Temp_Player2)))))
                • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                  • If - Conditions
                    • Or - Any (Conditions) are true
                      • Conditions
                        • (Number of units in ArenaSc) Equal to 0
                        • (Number of units in ArenaSe) Equal to 0
                  • Then - Actions
                    • Game - Display to (All players) the text: 0 UNITS LOOOL
                    • Player Group - Pick every player in ArenaPG1 and do (Actions)
                      • Loop - Actions
                        • Player Group - Remove (Picked player) from ArenaPG1
                    • Player Group - Pick every player in ArenaPG2 and do (Actions)
                      • Loop - Actions
                        • Player Group - Remove (Picked player) from ArenaPG2
                    • Custom script: call DestroyGroup(udg_ArenaSe)
                    • Custom script: call DestroyGroup(udg_ArenaSc)
                    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                      • If - Conditions
                        • (Number of units in ArenaSe) Equal to 0
                      • Then - Actions
                        • Game - Display to (All players) the text: Sentinel has won th...
                        • Player Group - Pick every player in SENTINELS and do (Actions)
                          • Loop - Actions
                            • Player - Add (900 / (Number of players in SENTINELS)) to (Picked player) Current gold
                      • Else - Actions
                        • Game - Display to (All players) the text: The Scourge has wo...
                        • Player Group - Pick every player in SCOURGE and do (Actions)
                          • Loop - Actions
                            • Player - Add (900 / (Number of players in SCOURGE)) to (Picked player) Current gold
                    • For each (Integer TempInteger2) from 1 to 12, do (Actions)
                      • Loop - Actions
                        • Set Temp_Unit = HERO[TempInteger2]
                        • Set Temp_Unit2 = ArenafighterF[TempInteger2]
                        • For each (Integer Temp_integer) from 1 to 6, do (Actions)
                          • Loop - Actions
                            • Item - Remove (Item carried by Temp_Unit in slot Temp_integer)
                            • Set Temp_ItemT = (Item-type of (Item carried by Temp_Unit2 in slot Temp_integer))
                            • Hero - Create Temp_ItemT and give it to Temp_Unit
                        • Hero - Set Temp_Unit experience to (Hero experience of Temp_Unit2), Hide level-up graphics
                        • Hero - Modify Agility of Temp_Unit: Set to (Agility of Temp_Unit2 (Exclude bonuses))
                        • Hero - Modify Intelligence of Temp_Unit: Set to (Intelligence of Temp_Unit2 (Exclude bonuses))
                        • Hero - Modify Strength of Temp_Unit: Set to (Strength of Temp_Unit2 (Exclude bonuses))
                    • Set Temp_Group = (Units in Arenas <gen>)
                    • Unit Group - Pick every unit in Temp_Group and do (Actions)
                      • Loop - Actions
                        • Unit - Remove (Picked unit) from the game
                    • Custom script: call DestroyGroup(udg_Temp_Group)
                    • Set Temp_Group = (Units in Arenas2 <gen>)
                    • Unit Group - Pick every unit in Temp_Group and do (Actions)
                      • Loop - Actions
                        • Unit - Remove (Picked unit) from the game
                    • Custom script: call DestroyGroup(udg_Temp_Group)
                    • Trigger - Turn off (This trigger)
                    • Set ArenaCountdown = 6
                    • Trigger - Turn on Out arena <gen>
                  • Else - Actions
                • Skip remaining actions
              • Else - Actions



    Arena Trigger
    • Out arena
      • Events
        • Time - Every 1.00 seconds of game time
      • Conditions
      • Actions
        • Set ArenaCountdown = (ArenaCountdown - 1)
        • Game - Display to (All players) for 1.00 seconds the text: (Return to game in |CffFF0000 + ((String(ArenaCountdown)) + |r seconds))
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • ArenaCountdown Equal to 2
          • Then - Actions
            • For each (Integer TempInteger) from 1 to 12, do (Actions)
              • Loop - Actions
                • Set TempPoint = (Position of HERO[TempInteger])
                • Camera - Pan camera for (Player(TempInteger)) to TempPoint over 0.00 seconds
                • Custom script: call RemoveLocation(udg_TempPoint)
          • Else - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • ArenaCountdown Equal to 0
          • Then - Actions
            • Unit - Unpause all units
            • Countdown Timer - Start ArenaTime as a One-shot timer that will expire in 300.00 seconds
            • Countdown Timer - Resume MinionSpawn
            • Countdown Timer - Resume Spawn37s
            • Trigger - Turn off (This trigger)
          • Else - Actions


    There you are, i hope you can help me.
     
    Last edited: Apr 21, 2013
  8. Orthane

    Orthane

    Joined:
    Jan 22, 2013
    Messages:
    290
    Resources:
    0
    Resources:
    0
    You my friend, are insane. Please put Hide-Tags around each one of those triggers.

    You are lucky I go above and beyond lmao, I will fix what I can.

    What are the issues you are having with your system
     
  9. Maker

    Maker

    Joined:
    Mar 6, 2006
    Messages:
    9,174
    Resources:
    17
    Maps:
    2
    Spells:
    14
    Tutorials:
    1
    Resources:
    17
    Please use hidden tags.

    [HIDDEN="Triggers"]
    [TRIGGER]
    triggers here
    [/TRIGGER]
    [/HIDDEN]
     
  10. Chaosy

    Chaosy

    Tutorial Reviewer

    Joined:
    Jun 9, 2011
    Messages:
    11,102
    Resources:
    18
    Icons:
    1
    Maps:
    1
    Spells:
    10
    Tutorials:
    6
    Resources:
    18
    Are you supposed to fix something when we don't know what the problem is..

    it's not like a short trigger you know
     
  11. stimmedmarine

    stimmedmarine

    Joined:
    Aug 8, 2011
    Messages:
    284
    Resources:
    0
    Resources:
    0
    The problems are that the Arena sometimes gets stuck or simply stop, wich makes the game unplayable.

    It can accur on many different situations, its hard to pin point all the places where the arena is crashing. I think the best way to fix it, is by testing the map and fix the errors that comes along, thats how i worked on it with my old trigger friend.
     
  12. Orthane

    Orthane

    Joined:
    Jan 22, 2013
    Messages:
    290
    Resources:
    0
    Resources:
    0
    ahhh crap. Its literally a DotA map, I figured you only liked Dota not make it lol. I have so much hatred for that game series <_> Now I am helping someone fix one.

    Amazing the things I get into on this forums. Anyway... You have way more then just arena issues going on.

    Several issues I noticed while scrolling through the games triggers:
    1. Your not nulling Leaks.
    2. You not removing/destroying all of your leaks (obvious ones at that)
    3. Several coded spells have mistakes where people might have forgot to convert something when they copied/pasted something (at least that is what it looks like)
    4. DotA is a extremely precious map, I can't possibly believe someone would post the map deprotected publicly for people to look at. (Are you sure you have rights to this map?)
    5. I see some issues with spells conflicting with others that your gonna have massive issue with later that are kind obvious to glitch out people and never fix.
    6. Some of your indexing is not proper & has a few minor issues with it (nothing of concern)
    7. Your Spamming Variables like "Points" instead of making a single array that solves all of your point issues instead of listing (udg_TempLoc_1)
    (udg_TempLoc_2)
    (udg_TempLoc_3)

    Instead you can do this:

    One array can hold a shit load of leaks and destroy them, there is no need to spam out your variables with such things.
    udg_TempLoc[1]
    udg_TempLoc[udg_CustomIntegerA]

    @_@ I expected a lot more from a dota map. lots of work ahead.
     
  13. stimmedmarine

    stimmedmarine

    Joined:
    Aug 8, 2011
    Messages:
    284
    Resources:
    0
    Resources:
    0

    Can you help me fix the triggers ? even though you dont like dota ?
     
  14. stimmedmarine

    stimmedmarine

    Joined:
    Aug 8, 2011
    Messages:
    284
    Resources:
    0
    Resources:
    0