Get Gold/Wood cost of a unit

Sil3nt

SUP?
Reaction score
134
Is it possible through the default editor? I could've sworn I've done it in the past but now I can't seem to find a way to do it. I'm already using the custom value of a unit for something else, and I suspect I may need point value as well, so I was wondering if there are any other options that could be used.
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
For what?
Do you want to get the gold and lumber cost of units? Or set it?
Isnt clear for me from your text.

But i can tell you you cannot get nor set the cost of a unit via triggers.
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
You can enable the standard bounty system for all players. This way you get gold and lumber for player units just like you would get for killing neutral hostile units.
There is a trigger action, something like:
Player - enable/disable bounty for player
 

Sil3nt

SUP?
Reaction score
134
Bounty works just fine. It's just that the unit killing belongs to Red and he gets the bounty, whereas I want it to go to the custom value (which is the index of the player) of the unit killing it instead.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top