Game Development Community

NetStringTable Strings Tagged Strings ?

by Robert Brower · in General Discussion · 05/16/2003 (7:38 pm) · 1 replies

I am passing the player object %player into the engine via a new console method. I'm using a dynamic cast to get the player class object and calling getShapeName() which returns [][]Test Guy[] where [] are extraneous chars. Is this a tagged string? Is this format always used? How can I safely get the player name in my console function? What are the extraneous chars? detag() doesn't seem to work with this kind of string.

Any ideas? Thank you,

Robert

Nice screenshot of the locals window during a debug session, http://home.attbi.com/~robertbrower/temp.JPG

#1
05/26/2003 (1:15 am)
Robert,

You could use...

deTag( getTaggedString( %player.name ) )

... and have a look here

You should really post this kind of stuff in the private SDK, you'd probably get a better response then bud.

Cheers,

- Melv.