• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

"Turn on Trigger" not working

Status
Not open for further replies.
Level 4
Joined
Jan 8, 2012
Messages
66
Hello, recently I've been struggling with having Trigger X be "initially turned on" unchecked, and then have Trigger Y, at the end of its' actions, to "Turn on Trigger X"

But trigger X never happens - sometimes I put an event on it, other times no. It simply doesn't happen.

btw, it's not that the actions in Trigger X cannot occur, they are perfectly doable with any other type of event, they just don't happen even when I turn on the trigger, is there something I'm missing?

Thanks in advance!
 
Level 4
Joined
Jan 8, 2012
Messages
66
Oh god, well it's pretty big, so here it goes (dont worry about the name of the triggers)

  • DeleteThis
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Trigger - Turn off Camera <gen>
      • Unit - Create 1 Crusader for Player 1 (Red) at (Center of HeroSelectionSpawn <gen>) facing Default building facing degrees
      • Set Champion = (Last created unit)
      • Wait 0.01 seconds
      • Unit - Create 1 Warlord At'ami for Player 12 (Brown) at (Center of Region 005 <gen>) facing Default building facing degrees
      • Set WarlordAtAmi = (Last created unit)
      • Trigger - Turn on DeleteThisToo <gen>
  • DeleteThisToo
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Cinematic - Turn cinematic mode On for (All players)
      • Camera - Apply WarlordWatch <gen> for Player 1 (Red) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from WarlordAtAmi named Warlord At'ami: Play No sound and display Hmm? And why would .... Modify duration: Set to 5.50 seconds and Wait
      • Camera - Apply SpawnScene07 <gen> for Player 1 (Red) over 0.00 seconds
      • Trigger - Turn on FTSTakeCaptive <gen>
      • Unit - Make Battlepriest 0011 <gen> face Champion over 0.30 seconds
      • Cinematic - Send transmission to (All players) from Battlepriest 0011 <gen> named Ballador : Play No sound and display <Whispers> Don't wo.... Modify duration: Set to 5.00 seconds and Wait
      • Cinematic - Fade out over 3.50 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Cinematic - Send transmission to (All players) from WarlordAtAmi named Warlord At'ami: Play No sound and display Shut up! Knock 'dem.... Modify duration: Set to 4.50 seconds and Wait
      • Sound - Play Face_Hit_Series <gen>
      • Wait 3.00 seconds
      • Sound - Play Foreign_Land <gen>
      • Wait 2.00 seconds
      • Cinematic - Fade in over 2.00 seconds using texture Haze Filter and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Unit - Move Champion instantly to (Center of TrollCaptiveChampion <gen>), facing (Center of TrollCaptiveAtAmai <gen>)
      • Unit - Move Battlepriest 0011 <gen> instantly to (Center of TrollCaptiveBallador <gen>), facing (Center of TrollCaptiveAtAmai <gen>)
      • Unit - Move Villager (Elf) 0007 <gen> instantly to (Center of TrollCaptiveNoble <gen>), facing (Center of TrollCaptiveAtAmai <gen>)
      • Unit - Move Villager (Female 2) 0006 <gen> instantly to (Center of TrollCaptiveMerchant <gen>), facing (Center of TrollCaptiveAtAmai <gen>)
      • Unit - Move Villager (Male 2) 0003 <gen> instantly to (Center of TrollCaptiveVillagerMale <gen>), facing (Center of TrollCaptiveAtAmai <gen>)
      • Unit - Move Villager (Female) 0005 <gen> instantly to (Center of TrollCaptiveVillagerFemale <gen>), facing (Center of TrollCaptiveAtAmai <gen>)
      • Unit - Move WarlordAtAmi instantly to (Center of TrollCaptiveAtAmai <gen>), facing (Center of TrollCaptiveChampion <gen>)
      • Camera - Apply TrollCaptive01 <gen> for Player 1 (Red) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from WarlordAtAmi named Warlord At'ami: Play No sound and display Well, you screwed u.... Modify duration: Set to 8.00 seconds and Wait
      • Cinematic - Send transmission to (All players) from WarlordAtAmi named Warlord At'ami: Play No sound and display Hehe, take da' rich.... Modify duration: Set to 5.00 seconds and Wait
      • Unit - Order Forest Troll Hunter 0013 <gen> to Right-Click Villager (Female 2) 0006 <gen>
      • Unit - Order Forest Troll Warrior 0014 <gen> to Right-Click Villager (Elf) 0007 <gen>
      • Cinematic - Send transmission to (All players) from Villager (Elf) 0007 <gen> named Spoiled Noble: Play No sound and display Uhm? Me? What about.... Modify duration: Set to 4.50 seconds and Wait
      • Cinematic - Send transmission to (All players) from WarlordAtAmi named Warlord At'ami: Play No sound and display Just for your mouth.... Modify duration: Set to 6.50 seconds and Wait
      • Unit - Order Forest Troll Warrior 0014 <gen> to Move To (Random point in Region 016 <gen>)
      • Unit - Order Forest Troll Hunter 0013 <gen> to Move To (Random point in Region 016 <gen>)
      • Unit - Order Villager (Female 2) 0006 <gen> to Follow Forest Troll Hunter 0013 <gen>
      • Unit - Order Villager (Elf) 0007 <gen> to Follow Forest Troll Warrior 0014 <gen>
      • Cinematic - Send transmission to (All players) from Villager (Elf) 0007 <gen> named Spoiled Noble: Play No sound and display Gods help me!. Modify duration: Set to 3.00 seconds and Wait
      • Cinematic - Send transmission to (All players) from WarlordAtAmi named Warlord At'ami: Play No sound and display Hehe, I be savin' y.... Modify duration: Set to 4.00 seconds and Wait
      • Unit - Make WarlordAtAmi face Greth 0027 <gen> over 0.10 seconds
      • Cinematic - Send transmission to (All players) from WarlordAtAmi named Warlord At'ami: Play No sound and display Now you watch over .... Modify duration: Set to 6.50 seconds and Wait
      • Cinematic - Send transmission to (All players) from Greth 0027 <gen> named Greth : Play No sound and display Yes master.... Modify duration: Set to 3.00 seconds and Wait
      • Cinematic - Send transmission to (All players) from WarlordAtAmi named Warlord At'ami: Play No sound and display Heh, stupid Greth. . Modify duration: Set to 2.00 seconds and Wait
      • Unit - Order WarlordAtAmi to Move To (Center of Region 016 <gen>)
      • Cinematic - Send transmission to (All players) from Greth 0027 <gen> named Greth : Play No sound and display .... Modify duration: Set to 2.50 seconds and Wait
      • Cinematic - Send transmission to (All players) from Greth 0027 <gen> named Greth : Play No sound and display Greth tired of bein.... Modify duration: Set to 5.50 seconds and Wait
      • Trigger - Turn on SacrificesMon <gen>

  • SacrificesMon
    • Events
    • Conditions
    • Actions
      • Unit - Move Villager (Elf) 0007 <gen> instantly to (Center of SacrificialVictimRegion <gen>), facing (Center of StartingSceneFleeTo <gen>)
      • Unit - Move Villager (Female 2) 0006 <gen> instantly to (Center of OtherSacVictimRegion <gen>), facing (Center of SacrificialVictimRegion <gen>)
      • Unit - Move WarlordAtAmi instantly to (Center of SacrificeWarlordAtami <gen>), facing (Center of SacrificialVictimRegion <gen>)
      • Camera - Apply TrollSacrificeWatch <gen> for Player 1 (Red) over 3.00 seconds
      • Cinematic - Send transmission to (All players) from Villager (Elf) 0007 <gen> named Spoiled Noble: Play No sound and display Please! Please! I'l.... Modify duration: Set to 4.00 seconds and Wait
      • Cinematic - Send transmission to (All players) from WarlordAtAmi named Warlord At'ami: Play No sound and display Shut up! . Modify duration: Set to 1.50 seconds and Wait
      • Cinematic - Send transmission to (All players) from WarlordAtAmi named Warlord At'ami: Play No sound and display To da' god Hakkthis.... Modify duration: Set to 6.00 seconds and Wait
      • Cinematic - Send transmission to (All players) from Villager (Elf) 0007 <gen> named Spoiled Noble: Play No sound and display This isn't happenin.... Modify duration: Set to 4.00 seconds and Wait
      • Unit - Order WarlordAtAmi to Attack Villager (Elf) 0007 <gen>
      • Cinematic - Send transmission to (All players) from WarlordAtAmi named Warlord At'ami: Play No sound and display Now, DIE!. Modify duration: Set to 6.00 seconds and Wait
      • Special Effect - Create a special effect at (Center of AltarOfBlood <gen>) using Abilities\Spells\Undead\ReplenishMana\ReplenishManaCasterOverhead.mdl
      • Special Effect - Create a special effect at (Center of SacrificialVictimRegion <gen>) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
      • Cinematic - Send transmission to (All players) from Villager (Female 2) 0006 <gen> named Merchant: Play No sound and display Ohh god!. Modify duration: Set to 2.00 seconds and Wait
      • Cinematic - Send transmission to (All players) from WarlordAtAmi named Warlord At'ami: Play No sound and display <The blood of his v.... Modify duration: Set to 6.00 seconds and Wait
      • Unit - Order Villager (Female 2) 0006 <gen> to Move To (Center of SacrificialVictimRegion <gen>)
      • Wait 1.00 seconds
      • Camera - Apply TrollCaptive01 <gen> for Player 1 (Red) over 2.50 seconds
      • Unit - Make Battlepriest 0011 <gen> face Champion over 0.50 seconds
      • Cinematic - Send transmission to (All players) from Battlepriest 0011 <gen> named Ballador: Play No sound and display <Whispers in your e.... Modify duration: Set to 3.50 seconds and Wait
      • Cinematic - Send transmission to (All players) from Champion named Aurrius the Pure: Play No sound and display I have an idea... H.... Modify duration: Set to 3.00 seconds and Wait
      • Cinematic - Send transmission to (All players) from Greth 0027 <gen> named Greth : Play No sound and display Hmm?. Modify duration: Set to 2.00 seconds and Wait
      • Dialog - Clear TrollTakenYa[1]
      • Dialog - Change the title of TrollTakenYa[1] to What do you say?
      • Dialog - Create a dialog button for TrollTakenYa[1] labelled Your master usually...
      • Set TrollTakenYaButton[6] = (Last created dialog Button)
      • Dialog - Create a dialog button for TrollTakenYa[2] labelled Your master is righ...
      • Set TrollTakenYaButton[7] = (Last created dialog Button)
      • Dialog - Show TrollTakenYa[1] for Player 1 (Red)
Note that everything works except for the "Turn on SacrificesMon" for the second trigger... it simply doesn't happen.
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
When is SacrificesMon supposed to run?

Create 2 Debug Messages.
(Debug Message is "Game - Display <text> to all players".)
The first one being just below the turn on.
The second one being as first action in SacrificesMon.
Make sure that both have a different text.

Maybe create another one where you manually call SacrificesMon, or add events to it.
 
Level 20
Joined
Jul 14, 2011
Messages
877
Pardon me if I misunderstood your problem, but shouldn't you be Running SacrificesMon instead of Turning it on? Turning it on has no impact if the trigger doesnt have an event.

Also, if you are going to be turning triggers on/off like that ('like that' as in, it wouldnt make a difference) on Map Initialization, you might as well use the 'Initially turned on' option.
 
Level 9
Joined
May 21, 2014
Messages
580
Pardon me if I misunderstood your problem, but shouldn't you be Running SacrificesMon instead of Turning it on? Turning it on has no impact if the trigger doesnt have an event.

Also, if you are going to be turning triggers on/off like that ('like that' as in, it wouldnt make a difference) on Map Initialization, you might as well use the 'Initially turned on' option.

This.

You have to "Trigger - Run Trigger" action, and leave SacrificesMon initially turned on.
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,220
Just turning the trigger on wont run it, there is a specific action for that.

Furthermore, your triggers are pretty stupid (no offense meant)

1. remove the wait from the Initialization trigger. It doesn't benefit you in any way.
2. replace the turn on trigger with run
3. remove the event from the "Removethistoo" trigger
4. replace the turn on trigger in "removethistoo" with run trigger

that's about it.
 
Status
Not open for further replies.
Top