| player - a bot's player ID, from AddSharedBot |
|
Removes a bot from a server room. Every copy gets SHARED_EVENT_PLAYER_LEFT for it, as when a person leaves. Free the bot's entity yourself, or give it to someone else: the entity stays in the world. Asking to remove a player who isn't a bot does nothing, and SharedWorldError() says why. 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, SharedPlayerBot, SetSharedPlayerEntity. |