PlayerName(EventPlayer()) == "Dave"
Can you turn the string "Dave" to text otherwise? :3
Yes, you can. But you can't compare two texts.
Well, you can but it'll only tell you if they're the same object, not if their content is the same.
Unfortunately this doesn't work at all.
Unfortunately you can only take a substring from a String. I've looked through all the other functions and there doesn't appear to be a way to convert text to another type. I wonder whether it would be possible with custom script?If there's a Substring function for text types, it could be done.
My bad. It seems very odd that something so simple cannot be done.
Unfortunately you can only take a substring from a String. I've looked through all the other functions and there doesn't appear to be a way to convert text to another type. I wonder whether it would be possible with custom script?
Set MyVariable[(triggering player)] = xyz
What about getting their name in text and finding which color has that name?