• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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