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

Trigger Conflicting with other triggers

Status
Not open for further replies.
I have some triggers which mess up if other triggers are running as well. They have nothing in common, except that they both are run from one trigger.

  • MakeMultiboard
    • Events
    • Conditions
    • Actions
      • Set Temp_Integer = 0
      • For each (Integer A) from 1 to 4, do (Actions)
        • Loop - Actions
          • Multiboard - Create a multiboard with 2 columns and 7 rows, titled |cffffcc00Game Stat...
          • Set GameStats[(Integer A)] = (Last created multiboard)
          • Multiboard - Set the width for GameStats[(Integer A)] item in column 1, row 0 to 12.50% of the total screen width
          • Multiboard - Set the width for GameStats[(Integer A)] item in column 2, row 0 to 10.00% of the total screen width
          • Multiboard - Set the icon for GameStats[(Integer A)] item in column 1, row 2 to ReplaceableTextures\CommandButtons\BTNMisc_Coin_01.blp
          • Multiboard - Set the icon for GameStats[(Integer A)] item in column 1, row 2 to ReplaceableTextures\CommandButtons\BTNMisc_Coin_01.blp
          • Multiboard - Set the icon for GameStats[(Integer A)] item in column 1, row 3 to ReplaceableTextures\CommandButtons\BTNMisc_Coin_03.blp
          • Multiboard - Set the icon for GameStats[(Integer A)] item in column 1, row 4 to ReplaceableTextures\CommandButtons\BTNMisc_Coin_05.blp
          • Multiboard - Set the icon for GameStats[(Integer A)] item in column 1, row 5 to ReplaceableTextures\CommandButtons\BTNSkeletonWarrior.blp
          • Multiboard - Set the icon for GameStats[(Integer A)] item in column 1, row 6 to ReplaceableTextures\WorldEditUI\Editor-Ally-NoPriority.blp
          • Multiboard - Set the icon for GameStats[(Integer A)] item in column 1, row 7 to ReplaceableTextures\WorldEditUI\Editor-ItemSet.blp
          • Multiboard - Set the text for GameStats[(Integer A)] item in column 1, row 2 to Gold
          • Multiboard - Set the text for GameStats[(Integer A)] item in column 1, row 3 to Silver
          • Multiboard - Set the text for GameStats[(Integer A)] item in column 1, row 4 to Copper
          • Multiboard - Set the text for GameStats[(Integer A)] item in column 1, row 5 to Deaths
          • Multiboard - Set the text for GameStats[(Integer A)] item in column 1, row 6 to AchievScore
          • Multiboard - Set the text for GameStats[(Integer A)] item in column 1, row 7 to AchievPoints
          • Multiboard - Set the text for GameStats[(Integer A)] item in column 2, row 1 to (PlayerColor[(Integer A)] + (Name of Player[(Integer A)]))
          • Multiboard - Set the display style for GameStats[(Integer A)] item in column 2, row 0 to Show text and Hide icons
          • Multiboard - Set the display style for GameStats[(Integer A)] item in column 1, row 1 to Hide text and Hide icons
          • Wait 0.10 seconds
          • Set Temp_Integer = (Temp_Integer + 1)
          • Trigger - Run Show Multiboard <gen> (ignoring conditions)
JASS:
function Trig_Show_Multiboard_Actions takes nothing returns nothing
    if GetLocalPlayer() == Player(udg_Temp_Integer-1) then
        call MultiboardDisplayBJ( true, udg_GameStats[(udg_Temp_Integer)] )
    endif
endfunction

//===========================================================================
function InitTrig_Show_Multiboard takes nothing returns nothing
    set gg_trg_Show_Multiboard = CreateTrigger(  )
    call TriggerAddAction( gg_trg_Show_Multiboard, function Trig_Show_Multiboard_Actions )
endfunction
This trigger makes the above triggers fail if it runs.
  • Help
    • Events
    • Conditions
    • Actions
      • Quest - Create a Optional quest titled Saving with the description Type |cffffcc00-sav..., using icon path ReplaceableTextures\CommandButtons\BTNIconSave.blp
      • Quest - Create a Optional quest titled Loading with the description Typing |cffffcc00- ..., using icon path ReplaceableTextures\CommandButtons\BTNIconSave.blp
      • Quest - Create a Optional quest titled Houses with the description Houses are a very i..., using icon path ReplaceableTextures\CommandButtons\BTNFarm.blp
      • Quest - Create a Optional quest titled Death with the description Dying results in a ..., using icon path ReplaceableTextures\CommandButtons\BTNSkeletonWarrior.blp
      • Quest - Create a Optional quest titled -----Professions---... with the description Professions are tas..., using icon path ReplaceableTextures\CommandButtons\BTNGatherGold.blp
      • Quest - Create a Optional quest titled Fishing with the description Fishing allows you ..., using icon path ReplaceableTextures\CommandButtons\BTNFishing1.blp
      • Quest - Create a Optional quest titled Fishing with the description Cooking allows you ..., using icon path ReplaceableTextures\CommandButtons\BTNMonsterLure.blp
      • Quest - Create a Optional quest titled Mining with the description Mining allows you t..., using icon path ReplaceableTextures\CommandButtons\BTNGatherGold.blp
      • Quest - Create a Optional quest titled Crafting - Soft Ite... with the description Crafting allows you..., using icon path ReplaceableTextures\CommandButtons\BTNHoodOfCunning.blp
      • Quest - Create a Optional quest titled Crafting - Metal It... with the description Crafting allows you..., using icon path ReplaceableTextures\CommandButtons\BTNHelmutPurple.blp
      • Quest - Create a Optional quest titled Crafting - Wooden I... with the description Crafting allows you..., using icon path ReplaceableTextures\CommandButtons\BTNBundleOfLumber.blp
If this trigger does not run, it works perfectly fine.
 
Status
Not open for further replies.
Top