I read (somewhere at some point) that it is possible to use GetLocalPlayer() to go above the texttag (floating text) cap of 100.
I am thinking of experimenting with displaying all damage dealt (and maybe taken) for each player, but it would be limited to only what damage they deal and what damage their units take - creating the text for all players and only displaying them to the right players might work, but I can see it hitting the 100 floating text cap very easily if there is a decent amount of players.
In order to use GetLocalPlayer() with the text tags, I basically just put the entire creation of the text tag inside the GetLocalPlayer() block, right? Is that all there is to it?
Something like:
I am thinking of experimenting with displaying all damage dealt (and maybe taken) for each player, but it would be limited to only what damage they deal and what damage their units take - creating the text for all players and only displaying them to the right players might work, but I can see it hitting the 100 floating text cap very easily if there is a decent amount of players.
In order to use GetLocalPlayer() with the text tags, I basically just put the entire creation of the text tag inside the GetLocalPlayer() block, right? Is that all there is to it?
Something like:
JASS:
if (p == GetLocalPlayer()) then
set myTextTag = CreateTextTag()
... // Set the position, the text, velocity, size, etc.
set myTextTag = null
endif