Author Topic: Create Duplicate Player Object  (Read 619 times)

I want to create a blockhead bot that has the same appearance as me, using script. Ideally I would like to be able to create duplicates of other bots as well.

Either:

%bot = ...;

%player = %client.player;
%client.player = %bot;

%client.applyBodyParts();
%client.applyBodyColors();

%client.player = %player;


Or:

%player = %client.player;
%client.player = "";

%bot = %client.createPlayer(transform);
%client.player = %player;

%bot = ...;

%player = %client.player;
%client.player = %bot;

%client.applyBodyParts();
%client.applyBodyColors();

%client.player = %player;

Works for players, but not other bots. Is there a method that works on bots too?

Works for players, but not other bots. Is there a method that works on bots too?

You can't read node color or visibility.

You can't read node color or visibility.
it works with event_bots and bot holes