• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

What do when my trigger not firing, I use display messages and nothing?

Status
Not open for further replies.
Level 6
Joined
Apr 5, 2018
Messages
116
Help my trigger is not firing. I use display messages. How fire this trigger every time. I use run this trigger action and nothing.
  • TRIGGER BOOM
    • Events
      • Destructible - A destructible within (Playable map area) dies
    • Conditions
      • (Destructible-type of (Dying destructible)) Equal to Barrel of Explosives
    • Actions
      • Trigger - Run (This trigger) (checking conditions)
      • Game - Display to (All players) the text: 1
      • Set VariableSet BOOM = (Position of (Dying destructible))
      • Game - Display to (All players) the text: 2
      • Destructible - Pick every destructible within 250.00 of BOOM and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Destructible-type of (Picked destructible)) Equal to Barrel of Explosives
            • Then - Actions
              • Destructible - Kill (Picked destructible)
            • Else - Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Game - Display to (All players) the text: 3
      • Unit Group - Pick every unit in (Units within 250.00 of BOOM.) and do (Actions)
        • Loop - Actions
          • Unit - Cause (Picked unit) to damage (Picked unit), dealing 2000.00 damage of attack type Spells and damage type Normal
      • Custom script: call RemoveLocation(udg_BOOM)
      • Game - Display to (All players) the text: 4
  • TRIGGER BOOM Copy
    • Events
      • Destructible - A destructible within (Playable map area) dies
    • Conditions
      • (Destructible-type of (Dying destructible)) Equal to Golden Barrel Of Explosives
    • Actions
      • Trigger - Run (This trigger) (checking conditions)
      • Game - Display to (All players) the text: 1
      • Set VariableSet BOOM1 = (Position of (Dying destructible))
      • Game - Display to (All players) the text: 2
      • Destructible - Pick every destructible within 250.00 of BOOM1 and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Destructible-type of (Picked destructible)) Equal to Golden Barrel Of Explosives
            • Then - Actions
              • Destructible - Kill (Picked destructible)
            • Else - Actions
      • Custom script: set bj_wantDestroyGroup = true
      • Game - Display to (All players) the text: 3
      • Unit Group - Pick every unit in (Units within 250.00 of BOOM1.) and do (Actions)
        • Loop - Actions
          • Unit - Cause (Picked unit) to damage (Picked unit), dealing 6666.00 damage of attack type Spells and damage type Normal
      • Custom script: call RemoveLocation(udg_BOOM1)
      • Game - Display to (All players) the text: 4
This is two triggers and this is not firing!
 
Last edited:
If you have more than 64 destructables in area, it will run in to trouble (most often not fire the trigger).
There are known solutions such as on-map-init adding event to the destructables as detailed in this thread:
 
You posted a thread about this before and multiple people provided you with an answer. I also provided you with a test map.

 
If you have more than 64 destructables in area, it will run in to trouble (most often not fire the trigger).
There are known solutions such as on-map-init adding event to the destructables as detailed in this thread:
Thank you ThompZon now my triggers is correct! Thank you for this!
 
Status
Not open for further replies.
Back
Top