Hey guys, i just wonder if i can utilize somehow Set Unit Info Text function for Inventory tooltip? Where the game stores this value? can i somehow reference this as a button tooltip :/. I'll attach the map so you will understand the idea.
You can set the info text of a unit and it will change the info text of that unit. you can set it to the text of an existing button; with a catalog field value check. If your items are random though; I wouldnt assume that you have a button made for every possible randomly generated item.
Be more specific and we can offer more specific help :D
I just thought about how this info text works, for example if i'm using this function of trigger it can set this text specifically for each particular unit of that type ( in my map this unit is ItemGrenades) but if i will use function like set catalog value and will change CActor_InfoText then every unit of that type will have same description. I just thought i can make something similiar with buttons of inventory, but seems like there is no such option so NVM. Just wanted to avoid making dialog inventory for item system with suffixes and prefixes.
Hey guys, i just wonder if i can utilize somehow Set Unit Info Text function for Inventory tooltip? Where the game stores this value? can i somehow reference this as a button tooltip :/. I'll attach the map so you will understand the idea.
I am not so sure what exactly you are asking.
You can set the info text of a unit and it will change the info text of that unit. you can set it to the text of an existing button; with a catalog field value check. If your items are random though; I wouldnt assume that you have a button made for every possible randomly generated item.
Be more specific and we can offer more specific help :D
Skype: [email protected] Current Project: Custom Hero Arena! US: battlenet:://starcraft/map/1/263274 EU: battlenet:://starcraft/map/2/186418
I just thought about how this info text works, for example if i'm using this function of trigger it can set this text specifically for each particular unit of that type ( in my map this unit is ItemGrenades) but if i will use function like set catalog value and will change CActor_InfoText then every unit of that type will have same description. I just thought i can make something similiar with buttons of inventory, but seems like there is no such option so NVM. Just wanted to avoid making dialog inventory for item system with suffixes and prefixes.