Game Development Community

Death Staus Message

by J L · in Torque Game Engine Advanced · 04/10/2009 (7:48 am) · 1 replies

// Clear out the name on the corpse
   %this.player.setShapeName('%1 Got Ganked',%this.name);

What I am trying to do is set the player name first followed by Got Ganked. But it does not work. It dont cause any crashes just leaves the default name

#1
04/13/2009 (9:45 am)
mmm, I don't think that setShapeName works like that.

Try:
// Clear out the name on the corpse  
%this.player.setShapeName(%this.name @ " Got Ganked");