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

[Solved] Removing Leaks makes trigger useless

Status
Not open for further replies.
Level 7
Joined
Sep 19, 2012
Messages
204
Hey guys...

i was just removing leaks from one of my maps, when i noticed, that fixing the player group leaks makes the trigger useless. It just doesnt do anything then.

Example (it affects all Triggers with player groups):
  • TeamGold
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Owner of (Dying unit)) Equal to Player 12 (Brown)
    • Actions
      • Set temp_Playergroup = (All allies of (Owner of (Killing unit)))
      • Player Group - Pick every player in (All allies of (Owner of (Killing unit))) and do (Actions)
        • Loop - Actions
          • Player - Add 1 to (Picked player) Current gold
      • Custom script: call DestroyForce ( udg_temp_Playergroup )
any ideas why that could be?


greetings

CodeBlack
 
Status
Not open for further replies.
Top