G
GamerXR72
Guest
Picture a maul map where someone gets increased income when they send a creep. The increased income is exactly equal to the creeps bounty.
How would I target a creatures bounty value in a trigger?
I.E.
Of course that is wrong because Im not sure how to target a cratures bounty value specifically.
How would I target a creatures bounty value in a trigger?
I.E.
Code:
purchase creeps
Events
Unit - A unit Sells a unit
Conditions
(Unit-type of (Sold unit)) Not equal to Sell
Actions
Set income[(Player number of (Triggering player))] = (income[(Player number of (Triggering player))] + [B]([I]The Bounty Value[/I] of (Sold unit))[/B])
Of course that is wrong because Im not sure how to target a cratures bounty value specifically.


