• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] Fatal Error

Status
Not open for further replies.
Level 18
Joined
Oct 17, 2012
Messages
822
Please explain why does the trigger below crashes. If you need to see the map, say.

  • Start Duel
    • Events
      • Time - Duel expires
    • Conditions
    • Actions
      • Unit - Pause all units
      • Game - Display to (All players) the text: Two have been chose...
      • Set bDuel = True
      • Countdown Timer - Hide Duel_Win
      • Sound - Stop music After fading
      • Wait 3.00 seconds
      • Set Hero_DL = (Center of Duel <gen>)
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Pan camera for (Picked player) to Hero_DL over 1.00 seconds
      • For each (Integer HDI2) from 1 to 12, do (Actions)
        • Loop - Actions
          • Set Hero_SaveL[HDI2] = (Position of bankHero[HDI2])
          • Set Hero_SaveD[HDI2] = (Facing of bankHero[HDI2])
      • For each (Integer HDI2) from 1 to 12, do (Actions)
        • Loop - Actions
          • Unit - Move bankHero[HDI2] instantly to (Center of Hero_DS[HDI2])
          • Unit - Make bankHero[HDI2] face Hero_DL over 0.00 seconds
          • Unit - Make bankHero[HDI2] Invulnerable
      • Custom script: call RemoveLocation(udg_Hero_DL)
      • Set Team1LeaderHero = bankHero[(Player number of (Random player from Host_HG))]
      • Set HD_Loc = (Center of DuelStart1 <gen>)
      • Unit - Move Team1LeaderHero instantly to HD_Loc
      • Unit - Set life of Team1LeaderHero to 100.00%
      • Unit - Set mana of Team1LeaderHero to 100.00%
      • Unit - Make Team1LeaderHero Vulnerable
      • Custom script: call RemoveLocation(udg_HD_Loc)
      • Set Team2LeaderHero = bankHero[(Player number of (Random player from Host_PG))]
      • Set HD_Loc = (Center of DuelStart2 <gen>)
      • Unit - Move Team2LeaderHero instantly to (Center of DuelStart2 <gen>)
      • Unit - Set life of Team2LeaderHero to 100.00%
      • Unit - Set mana of Team2LeaderHero to 100.00%
      • Unit - Make Team2LeaderHero Vulnerable
      • Custom script: call RemoveLocation(udg_HD_Loc)
      • Game - Display to (All players) the text: ((Name of (Player(Team1Leader))) + ( Vs + (Name of (Player(Team2Leader)))))
      • Wait 5.00 seconds
      • Sound - Play PH1 <gen>
      • Game - Display to (All players) the text: 3!
      • Wait 1.00 seconds
      • Game - Display to (All players) the text: 2!
      • Wait 1.00 seconds
      • Game - Display to (All players) the text: 1!
      • Wait 1.00 seconds
      • Game - Display to (All players) the text: Let battle be joine...
      • Unit - Unpause Team1LeaderHero
      • Unit - Unpause Eye of Sauron 0140 <gen>
      • Unit - Unpause Team2LeaderHero
      • Unit - Unpause Eye of Sauron 0139 <gen>
      • Countdown Timer - Start DuelTime as a One-shot timer that will expire in 120.00 seconds
      • Set DuelTime = (Last started timer)
      • Countdown Timer - Create a timer window for DuelTime with title Duel Ends
      • Countdown Timer - Show DuelTime_Win
      • Trigger - Add to End Duel <gen> the event (Time - DuelTime expires)
 
Status
Not open for further replies.
Top