why its not possible to compare texts?

Status
Not open for further replies.
Level 6
Joined
Sep 28, 2009
Messages
222
hello!

maybe you also have noticed, that there is a little problem in the GE: you cant compare texts.

in the WE we had only strings. in the GE we have strings and texts, the diffenence is, that texts can also contain colors and font types and so on.
you can convert a string into a text, but not a text into a string (what makes quite sense)

now the problem: e.g. player names are stored in texts. so whats if i want to check a player name? its impossible. i cant compare "name of triggering player" with another text i enter. i also cant convert the player name to a string because its a text.
this is just one little example problem. i had aready much trouble with texts and i dont know how to solve this problem? am i missing something? how can i compare 2 texts?

edit: some other question: how can i read out/modify hero attributes and level? :)

greez
 
Status
Not open for further replies.
Top