What did you want to know for? I feel like this probably has something to do with centering text? If that's the case, you can make text center itself by creating a font style with center alignment, and using that font style.
Counting characters was for the player name of the player for the fake chat window I have created. If I was able to count the characters I could do something like this.
rtschutter - hello world!
But now instead I have to do this:
rtschutter -
hello world!
This is because I do not know how many characters there are in a player's name to change the number of characters required in the chat entry before it creates a new line.
if blizzard is trying to prevent blacklists then why do they have (get player handle) which returns that players unique player handle as a string ex. 1-S1-2345-34564, so you would save the blacklist and compare the 2 handles
Is there any way to get as an integer, the number of characters in a piece of text?
So for example, "Example" would be 7.
Unfortunately no... you can only count the length of a string, and I'm pretty sure you can't convert text to string.
That's unfortunate. Oh well.
@rtschutter: Go
What did you want to know for? I feel like this probably has something to do with centering text? If that's the case, you can make text center itself by creating a font style with center alignment, and using that font style.
For his scrolling dialog. i should probably mention that players write in string so he can count that.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
Counting characters was for the player name of the player for the fake chat window I have created. If I was able to count the characters I could do something like this.
rtschutter - hello world!
But now instead I have to do this:
rtschutter -
hello world!
This is because I do not know how many characters there are in a player's name to change the number of characters required in the chat entry before it creates a new line.
im trying to do same thing
if blizzard is trying to prevent blacklists then why do they have (get player handle) which returns that players unique player handle as a string ex. 1-S1-2345-34564, so you would save the blacklist and compare the 2 handles