- Joined
- Aug 11, 2009
- Messages
- 605
I am trying to change the extended tooltip on a unit in a building to show how much progress you have made to unlock it.
From what I could find you can only change the extended tooltip of items and abilities though, or did i miss the one for units? I found the "call BlzSetAbilityTooltip" custom script and tried to change it to "call BlzSetUnitExtendedTooltip" but that didnt work xD
I guess I could use the custom script: "if GetLocalPlayer() == udg_PlayerVariable then" to make it only affect one player. But is there any way through triggers to change unit extended tooltip?
EDIT: Perhaps it would work smoother to just use abilities instead of dummy units in a building? Since you can add requirements to abilities aswell to lock them from being used. It is only supposed to summon a Hero on use which could be done either way
From what I could find you can only change the extended tooltip of items and abilities though, or did i miss the one for units? I found the "call BlzSetAbilityTooltip" custom script and tried to change it to "call BlzSetUnitExtendedTooltip" but that didnt work xD
I guess I could use the custom script: "if GetLocalPlayer() == udg_PlayerVariable then" to make it only affect one player. But is there any way through triggers to change unit extended tooltip?
EDIT: Perhaps it would work smoother to just use abilities instead of dummy units in a building? Since you can add requirements to abilities aswell to lock them from being used. It is only supposed to summon a Hero on use which could be done either way