• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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

Status
Not open for further replies.
Level 8
Joined
Aug 8, 2011
Messages
297
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:
 

Attachments

  • DotA Frenzy NG 7.51g.w3x
    2.1 MB · Views: 92
Last edited:
Level 7
Joined
Jan 22, 2013
Messages
293
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:

I will fix your trigger, but you must first post it here, not the map.
 
Level 8
Joined
Aug 8, 2011
Messages
297
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.

  • 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)
  • 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>
  • 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>

  • 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>

  • 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)
  • 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>
  • 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>
  • 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))

  • 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

  • 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:
Level 7
Joined
Jan 22, 2013
Messages
293
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
 
Level 8
Joined
Aug 8, 2011
Messages
297
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

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.
 
Level 7
Joined
Jan 22, 2013
Messages
293
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.

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.
 
Level 8
Joined
Aug 8, 2011
Messages
297
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.


Can you help me fix the triggers ? even though you dont like dota ?
 
Status
Not open for further replies.
Top