Determine <goldcost> of <triggering unit>

Status
Not open for further replies.
Level 9
Joined
Apr 28, 2009
Messages
538
Is there any way to determine the GoldCost of a (TriggeringUnit) ?

For example: let's say I want to make a trigger that displays a message telling me, the (OwnerOf (TriggeringUnit)), the GoldConst of the (TriggeringUnit), when
  • Unit - A unit Begins casting an ability
 
Level 10
Joined
Oct 22, 2006
Messages
599
- It can be used for distinguishing a specific Unit Type or creating imaginary Unit Classes with varius Unit Types. e.g. Let's say you have 8 different critter types. Set all critter point values to 10 and then you can create a trigger that will contain all critter Types with the condition of their point value being 10, instead of checking if the Unit Type is one of the 8 critter types.
 
Status
Not open for further replies.
Top