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

Store Question

Status
Not open for further replies.
Level 9
Joined
Jun 7, 2008
Messages
440
I have a trigger that fires when a hero dies. It reduces gold by a certain amount. I also have a building for summoning units. There is a technique for this type of game that can reduce/eliminate the loss of gold by summoning units during the time of the hero's death and the cancelling the summons.

My question is, Is there a way to track this? It can be in GUI or JASS. I mean. When the hero dies > Player summons units before death> Cancels the summons to get his money back> {I wanted to track it So something like:}

  • Set Shrine[player number of (owner of (dying unit))] = Shrine[player number of (owner of (dying unit))] + 1
Is this possible to do so?
 
Status
Not open for further replies.
Back
Top