• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Removing gold income for all players - does this leak?

Status
Not open for further replies.
Level 6
Joined
Oct 5, 2012
Messages
86
Hey, this very simple trigger seemed to cause lags. I guess it is activated very often. Do you have a better idea how to implement it? The idea is simply to make all players have gold amount permanently set to 0, including gold rewarded by neutral creeps.

Do you think it causes leaks? Is there better way to implement this?
  • No Gold Mod
    • Events
      • Player - Player 2 (Blue)'s Current gold becomes Greater than or equal to 1.00
      • Player - Player 3 (Teal)'s Current gold becomes Greater than or equal to 1.00
      • Player - Player 4 (Purple)'s Current gold becomes Greater than or equal to 1.00
      • Player - Player 5 (Yellow)'s Current gold becomes Greater than or equal to 1.00
      • Player - Player 6 (Orange)'s Current gold becomes Greater than or equal to 1.00
      • Player - Player 8 (Pink)'s Current gold becomes Greater than or equal to 1.00
      • Player - Player 9 (Gray)'s Current gold becomes Greater than or equal to 1.00
      • Player - Player 10 (Light Blue)'s Current gold becomes Greater than or equal to 1.00
      • Player - Player 11 (Dark Green)'s Current gold becomes Greater than or equal to 1.00
      • Player - Player 12 (Brown)'s Current gold becomes Greater than or equal to 1.00
    • Conditions
    • Actions
      • Player - Set (Triggering player).Current gold to 0
 
Status
Not open for further replies.
Back
Top