• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] Customize the text on timed life bar (regarding summons)

Status
Not open for further replies.
Level 14
Joined
Aug 30, 2004
Messages
909
I use this action to assign a timer on a created unit:


  • Unit - Add a 40.00 second Generic expiration timer to (Last created unit)
Under the "Generic" tab, I can pick from the following labels:
- Animate Dead
- Disease Cloud
- Force of Nature
- Generic
- Healing Ward
etc.

I would like to make a custom text here saying: Twin Tornado... or something.

I looked in the advanced options at the Custom Interface, and I can't find the text there anywhere. Is there a text document I can extract and overwrite?

Thanks,

Darwin
 
Level 24
Joined
Aug 1, 2013
Messages
4,657
You cant do that as easy as you say Draco.

The point of those options is that they are generally buffs. (With the exception of "Generic" iirc.)
However, using any other buffs than those do not work for some reason, so there is no way to have more different texts in that box than the options you have.

On the bright side, you can change the texts of the already existing options.
You just have to find the corresponding buff.

To do this, you first have to find the id that is used for these.
Simply create a new trigger and make an action of the generic timer and then convert it to custom text.
Then you will have a line like this: call UnitApplyTimedLifeBJ( 60, 'Bhwd', GetTriggerUnit() )
The 4 character code (as second parameter) is the buff that you seek.
Then you go to the object editor and find the buff with the "Bhwd" as rawcode.
(To show rawcodes (and raw data) in the object editor, press [ctrl]+[d].)
Then you just have to search.
When you found it, you can remove the trigger and change the text (name iirc) to whatever you want.
 
Status
Not open for further replies.
Top