• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Help with leaking triggers!

Status
Not open for further replies.
Level 9
Joined
Jan 14, 2008
Messages
366
1. my important problem

i have a trigger wich looks like this:

  • events
  • -unit enters region (playable map area)
  • condigitons
  • -unit type of entering unit equal to X
  • actions
  • -create special effect attached to hand, left of entering unit
  • -create special effect attached to hand, right of entering unit
  • -create special effect attached to chest of entering unit
  • -create special effect attached to origin of entering unit
  • -turn on this trigger
now, i could store all those special effects in variables and destroy them when the "entering unit" is killed. but the trigger is a trigger that may fire very very often and very repeatedly.

how can i prevent this trigger from leaking ?
 
Status
Not open for further replies.
Top