Game Development Community

Sending string to client... problem

by Very Interactive Person · in Torque Game Engine · 06/12/2004 (6:52 am) · 3 replies

I'm passing the name of the winner to the client when my game is over... then do a Title.setText($winner @ " won the game");
The problem is the result is something like "17 playername won the game"
What's this number in front of the name? And how do I get rid of it? I mean, I don't have this problem anywhere else in the game when I use the players name (to send death messages for example).

#1
06/12/2004 (9:13 am)
You might have to call detag on the string..?
#2
06/13/2004 (2:39 pm)
If I use detag on the string it becomes empty... What is detag for anyway? and am I using it right like this: newstring=detag(original); ?
#3
06/16/2004 (2:22 pm)
It relates to the string table, which is responsible for efficiently keeping track of strings.