Create a static shape datablock using base/data/shapes/empty.dts and spawn it where you need it, then use setShapeName on it.
==>function ServerCmdAaaa(%cl, %aa){$poo = new StaticShapeData(MsgThing){position = %cl.player.getPosition();rotation = %cl.player.rotation;};$poo.setShapeName(%aa);}datablock StaticShapeData(MsgThing){shapeFile = "base/data/shapes/empty.dts";};
(I say "/aaaa test")
<input> (0): Unknown command setShapeName.
Object MsgThing(24841) MsgThing -> StaticShapeData -> ShapeBaseData -> GameBaseData -> SimDataBlock -> SimObject
function ServerCmdAaaa(%cl, %aa){
$poo = new StaticShapeData(MsgThing){
position = %cl.player.getPosition();
rotation = %cl.player.rotation;
};
$poo.setShapeName(%aa);
}
datablock StaticShapeData(MsgThing){
shapeFile = "base/data/shapes/empty.dts";
}