I'm having some real issues trying to figure out how long a player's name is...the problem being the player's name is a text element and only string elements can measure length. And of course, you can't convert text to string.
Anyone have a nifty way of figuring out the length of a player's name?
I dont know... I guess you want to make tables and such dynamically? Check blizzard documentation of player profiles. There should be limits to how long your name is allowed to be. Also, check the Expression tab when editing texts. It can be a bit cryptic first, but basically its the most amazing part of the 1.5 patch. You can write "Give help to player ~ A ~ " And then in the lower segment set A to be the player name or handle (as text) from any variable or function, making the string be "Give help to player Monkalizer" or "Give help to player huperphuff" depending on what the variable is at the moment.
I'm having some real issues trying to figure out how long a player's name is...the problem being the player's name is a text element and only string elements can measure length. And of course, you can't convert text to string.
Anyone have a nifty way of figuring out the length of a player's name?
@huperphuff: Go
I dont know... I guess you want to make tables and such dynamically? Check blizzard documentation of player profiles. There should be limits to how long your name is allowed to be. Also, check the Expression tab when editing texts. It can be a bit cryptic first, but basically its the most amazing part of the 1.5 patch. You can write "Give help to player ~ A ~ " And then in the lower segment set A to be the player name or handle (as text) from any variable or function, making the string be "Give help to player Monkalizer" or "Give help to player huperphuff" depending on what the variable is at the moment.