HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

how to access the random bounty value of dying unit in Jass

02-08-2017, 01:34 PM#1
kuelite
When a bounty-giving unit is killed, a floating text showing the bounty value appears like +10. The bounty is random and already set in Object Editor.
So how do i access the random bounty value of a killed unit ,and the I can set it as a variable for other uses?
thx for reply!
02-11-2017, 11:39 AM#2
Anitarf
That value can not be accessed in JASS. A way around this would be to use triggers to award the bounty instead of letting the game do it.