-
Unit dies
-
Events
- Unit - Any Unit dies
-
Local Variables
- Bounty = 0 <Integer>
-
Conditions
- ((Killing unit) kills (Current)) != 0
-
Actions
- Variable - Set Bounty = mineralspermob[Wave number]
- Player - Modify player (Killing player) Minerals: Add Bounty
- Text Tag - Create a text tag with the text ("+" + (Text(Bounty))) for (All players), using a font size of 24, at (Position of (Triggering unit)) and height offset 1.0 (initially Visible) can also set whether false is enforced
- Text Tag - Set Duration time for (Last created text tag) to 1.5 seconds
- Sound - Play [BLANK] for (All players) on (Triggering unit) with Z offset 0.0 (at 100.0% volume, skip the first 0.0 seconds)
-
Events
also the sound is currently blank as im not sure what to use for it yet
seems a fairly obvious solution but i've not seen it in the wild, so i've shared it.
edit:
Colonel Lance said:It's quite easy to make a "bounty" in the data editor, however it won't play a sound or make the text. All you do is go to the unit that is dying, go to the field named "(None) - Kill Resource" and set the minerals to however many you want when that unit is killed.
Last edited: