Blockland Forums > Modification Help

Names on top of the RC snapper.

Pages: (1/1)

Fastlex:

How do I do this?

Port:

The RC sapper is an AIPlayer, thus you cannot by standard give it it's own built-in name.
You can, however, do something like this:


--- Code: ---// %rc is the RC Sapper
%rc.shapeCam = new Camera()
{
datablock = Observer;
rcSapper = %rc;
};

missionCleanup.add( %rc.shapeCam );
%rc.shapeCam.setMode( "Corpse", %rc );
%rc.shapeCam.setShapeName( "whatever" );

--- End code ---

Make sure to remove %rc.shapeCam when the RC Sapper is removed.

Pages: (1/1)

Go to full version