Page 1 of 1

Custom Timed Life Text

Posted: May 15th, 2021, 4:22 pm
by rossoliny
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?