Custom Timed Life Text

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

rossoliny
Newcomer
Posts: 4
Joined: December 11th, 2020, 4:22 pm

Custom Timed Life Text

Post 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?