• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Disabling The bounty floating text

Status
Not open for further replies.
Level 19
Joined
Aug 8, 2007
Messages
2,765
Its just floating text thats spawned whenever bounty is gained. Is it possible to remove so i can trigger my own bounty system into the map without just setting the bounty given by all units to 0?
 
This will disable bounty given for a specific player. Use it on any player whose units give bounty.
call SetPlayerState(whichPlayer, PLAYER_STATE_GIVES_BOUNTY, 0)


However, if you still want the unit to give bounty but just want to disable the tags, then the only way to do this would end up disabling all tags, including JASS texttag handles.


If you want to be able to retrieve and manipulate unit bounty, there is a script that can do it, but sadly the JASS tags texttags, so you can't hide them without hiding all text tags, meaning that your bounty manipulations wouldn't be visible to the player.
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
This will disable bounty given for a specific player. Use it on any player whose units give bounty.
call SetPlayerState(whichPlayer, PLAYER_STATE_GIVES_BOUNTY, 0)


However, if you still want the unit to give bounty but just want to disable the tags, then the only way to do this would end up disabling all tags, including JASS texttag handles.


If you want to be able to retrieve and manipulate unit bounty, there is a script that can do it, but sadly the JASS tags texttags, so you can't hide them without hiding all text tags, meaning that your bounty manipulations wouldn't be visible to the player.

I want to retrieve it, but not have it show the text tag so i can get the amount of bounty and modify it than show my own text tag (sorta like bribe gui damage) So its impossible without setting bounty to 0?

if so how would i trigger all of the units into an array? i know how to use set variables, but im saying like how do i get what array # a unit type is in an array
 
Status
Not open for further replies.
Top