• 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.

[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