wc3edit.net
https://forum.wc3edit.net/

Custom Timed Life Text
https://forum.wc3edit.net/deprotection-cheating-f64/custom-timed-life-text-t37942.html
Page 1 of 1

Author:  rossoliny [ May 15th, 2021, 4:22 pm ]
Post subject:  Custom Timed Life Text

I want to custom text to Timed Life.
In script there is everywhere 'BTLF' buffid passed to UnitApplyTimedLife but all units have different text when in Form.
I called that function on my unit and I have 'Timed Life' text in timed lifebar.
I found [Btlf] in CompaingAbilityStrings.txt and there is Bufftip=Timed Life, if i change it then it does what i want, but it changes for all units and I want only for one.
I also have different buffs in CompaingAbilityStrings.txt with corresponding bufftips, but these buffs are not used when calling UnitApplyTimedLife in jass script.

How can I change the text of timed life only for one unit?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/