I want to add information about the weapon to this tooltip, but I can't find any areas in the data editor to modify this tooltip? can someone point me in the right direction?
I still believe that's just raw data, rather than something the mapmaker chose to display. But ya, that's just what I think, it'd be neater if I'm wrong :)
Hmm... not really. Set up a function that takes the variables you want as parameters, and returns a string based on those variables. Periodically call it and set the result as the tooltip.
duh... didn't even think of using variables with triggers >.<"
right so after getting lost in the trigger menu with this new thought, I can do the majority but adjusting the weapons tooltip which action trigger would I use to acheive that?
See picture attatched.
I want to add information about the weapon to this tooltip, but I can't find any areas in the data editor to modify this tooltip? can someone point me in the right direction?
Fairly sure you can't, haven't seen any map with any info other than raw data numbers + Air and/or Ground for targets in that field/tooltip.
@HellRoxYa: Go
I am pretty sure you can, I have seen info with number of targets and other information in someones custom map.
I still believe that's just raw data, rather than something the mapmaker chose to display. But ya, that's just what I think, it'd be neater if I'm wrong :)
Tooltip field under Weapon.
@RileyStarcraft: Go ah ha! how did i not see that...
Ok that seems to work I have a new problem evolving off that, when I put data in the tooltip my weapon disapears from the data editor weapon list??
and is it possible to use variables in the custom tooltip?
edit. fixed the weapon disapearing, still would like to know if and how to use variables in the tooltip?
Doubt it. Set up a trigger to change it for you.
@alejrb: Go
yes that would be getting awfully complicated if I want to have more than one variable that would be changing on that tooltip though :/
Hmm... not really. Set up a function that takes the variables you want as parameters, and returns a string based on those variables. Periodically call it and set the result as the tooltip.
@alejrb: Go
duh... didn't even think of using variables with triggers >.<"
right so after getting lost in the trigger menu with this new thought, I can do the majority but adjusting the weapons tooltip which action trigger would I use to acheive that?
You want http://wiki.sc2mapster.com/galaxy/triggers/catalog-field-value-set/
I suggest you read this tutorial for details on how to use it:
http://forums.sc2mapster.com/resources/tutorials/1250-triggers-catalog-field-value-get-set/
And this for details of how the weapon XML file is set up:
http://www.sc2mapster.com/api-docs/game-files/xml/weapon-data-xml/