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

why this trigger bugs sometimes?

Status
Not open for further replies.
Level 9
Joined
Jul 10, 2011
Messages
562
hey guys...

i found a problem in one of my triggers. it should revive every dead hero after an arena fight but it sometime dont revive one hero (and its not the same...so its not just player 1's hero it could also be player 7's or player 9's) Oo


this is the trigger part reviving the heroes (Temp_Group is (Units in (Entire Map))) :

  • port back and unpause
    • Events
    • Conditions
    • Actions
      • Do Multiple ActionsFor each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Unit Group - Pick every unit in Temp_Group and do (Actions)
            • Loop - Actions
              • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • 'IF'-Conditions
                  • (Picked unit) Equal to (==) Arena_Heroes[(Integer A)]
                • 'THEN'-Actions
                  • Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    • 'IF'-Conditions
                      • (Arena_Heroes[(Integer A)] is dead) Equal to (==) True
                    • 'THEN'-Actions
                      • Set Temp_Point = (Center of item fuse over rank 2 til rank 4 <gen>)
                      • Hero - Instantly revive Arena_Heroes[(Integer A)] at Temp_Point, Hide revival graphics
                      • Custom script: call RemoveLocation (udg_Temp_Point)
                    • 'ELSE'-Actions
                  • Unit - Move (Picked unit) instantly to player_positions[(Player number of (Owner of (Picked unit)))]
                  • Set Arena_Heroes[(Integer A)] = No Unit
                • 'ELSE'-Actions
      • Set heaven_done = False
      • Set hell_done = False
      • Custom script: call DestroyGroup (udg_Temp_Group)
      • Countdown-Timer - Start arena_timer as a One-Shot timer that will expire in 600.00 seconds
      • Countdown-Timer - Create a timer window for (Last started timer) with title Arena starts in...
      • Set timer_window = (Last created timer window)|
someone has a clue why it bugs?

thanks in advance

greetz claptomanic
 
Level 9
Joined
Jul 10, 2011
Messages
562
nope because thats just a part of the trigger and the rest of it works like it should only the reviving part bugs somehow.
 
Status
Not open for further replies.
Top