Creating a creep that only pays out money to a certain player/owner of a unit

gameshow

New Member
Reaction score
1
I'd like to have a creep populated about my map, that, when killed, gives out money. The fine print is, i'd like it to only pay out money to certain players, or, more specifically, players that own certain units. How?
 

wraithseeker

Tired.
Reaction score
122
Code:
A unit dies

Triggering unit belongs to certain players

player add property current gold of player + ??

Is this what you want?
 

gameshow

New Member
Reaction score
1
Let me be more specific. I want to have a neutral creep placed all over the map. lets say, for the purposes of this example, it's that ambient stag creep. Now, anyone can kill it. Anyone. but, I ONLY want the owner of the "stag killer" unit to get paid if HE kills it, NOT if anyone kills it. Does that make sense?
 

X-maul

AKA: Demtrod
Reaction score
201
you meen that its only if its the "Stag Killer" who kills it, i it is so, then just do the condition:
Code:
Unit-Type of triggering unit equal to Stag Killer
and then create a flaoting text that only shows for the certain player, and then give the gold..
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top