• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

[Solved] Trigger Glitch??

Status
Not open for further replies.
Level 4
Joined
Jul 22, 2012
Messages
72
Fel Orc Event
Events
Unit - A unit enters Region 013 <gen>
Conditions
(Hero level of Blademaster 1767 <gen>) Greater than or equal to 10
Actions
Unit - Change ownership of Magtheridon 1817 <gen> to (Owner of Kel'thal Krom'ar 1770 <gen>) and Change color
Unit - Create 1 Lords of Chaos for (Owner of Magtheridon 1817 <gen>) at (Center of Region 013 <gen>) facing Default building facing degrees


Ok How Come It create's like infinite Lords of Chaos??
 
Because if you create the lord of chaos at the region, it fires the event again. Then it creates another lord of chaos which fires the region again, and so on.

Just disable the trigger before creating the unit and enable it afterward so that the creation won't actually fire the trigger's event.
  • Trigger - Disable Fel Orc Event <gen>
  • Unit - Create 1 Lords of Chaos for (Owner of Magtheridon 1817 <gen>) at (Center of Region 013 <gen>) facing Default building facing degrees
  • Trigger - Enable Fel Orc Event <gen>
 
Level 4
Joined
Jul 22, 2012
Messages
72
umm didn't work

Fel Orc Event
Events
Unit - A unit enters Region 013 <gen>
Conditions
(Hero level of Blademaster 1767 <gen>) Greater than or equal to 10
Actions
Unit - Change ownership of Magtheridon 1817 <gen> to (Owner of Kel'thal Krom'ar 1770 <gen>) and Change color
Trigger - Turn off (This trigger)
Unit - Create 10 Lords of Chaos for (Owner of Magtheridon 1817 <gen>) at (Center of Region 013 <gen>) facing Default building facing degrees
Trigger - Turn on (This trigger)

Ugh here still didnt work but I did this

Fel Orc Event
Events
Unit - A unit enters Region 013 <gen>
Conditions
(Hero level of Blademaster 1767 <gen>) Greater than or equal to 10
Actions
Unit - Change ownership of Magtheridon 1817 <gen> to (Owner of Kel'thal Krom'ar 1770 <gen>) and Change color
Trigger - Turn off Fel Orc Event <gen>
Unit - Create 10 Lords of Chaos for (Owner of Magtheridon 1817 <gen>) at (Center of Region 013 <gen>) facing Default building facing degrees
Trigger - Turn on Fel Orc Event <gen>
 
Last edited by a moderator:
Both triggers above do same thing.
To fix this you must add delay.

I tested this works fine:
  • Example
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
    • Actions
      • Trigger - Turn off (This trigger)
      • Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
      • Wait 0.00 seconds
      • Trigger - Turn on (This trigger)
So in your trigger just do next:
  • Fel Orc Event
    • Events
      • Unit - A unit enters Region 013 <gen>
    • Conditions
      • (Hero level of Blademaster 1767 <gen>) Greater than or equal to 10
    • Actions
      • Trigger - Turn off (This trigger)
      • Unit - Change ownership of Magtheridon 1817 <gen> to (Owner of Kel'thal Krom'ar 1770 <gen>) and Change color
      • Unit - Create 10 Lords of Chaos for (Owner of Magtheridon 1817 <gen>) at (Center of Region 013 <gen>) facing Default building facing degrees
      • Wait 0.00 seconds
      • Trigger - Turn on (This trigger)
Test and report.
 
Status
Not open for further replies.
Top