Game Development Community

Local player's information

by Nocera Luciano · in Torque Game Engine · 03/25/2006 (7:23 pm) · 2 replies

I know this topic should be posted in Beginer section, but can someone tell me where to retrieve local player's information(such as position and player name) in script in the starter.fps example?

#1
03/25/2006 (9:01 pm)
Assuming you have a reference to the player object, %player.getTransform() and %player.getName().
#2
03/25/2006 (9:06 pm)
Also try out %player.getShapename().