SharedPlayerBot ( player )

Parameters

player - a player ID

Description

Returns True if a player is a bot.

Every copy knows which players are bots, so you can mark them in a roster or leave them off a scoreboard. Movement code shouldn't need it: bots and people are driven the same way.

For the full story - server rooms, hosting, sharing and host migration - see the Shared World guide and its complete Shared_World_Playground.bb sample.


See also: AddSharedBot, RemoveSharedBot, SharedPlayerName, SharedPlayerCount.

Index