SetEntityVirtualWorld
Moves an entity into another virtual world.
Only the players of that world see it from the next snapshot on. A ridden horse is refused - it is where its rider is.
Syntax
Section titled “Syntax”SetEntityVirtualWorld(id, world)| Parameter | Type | |
|---|---|---|
id |
number | the entity |
world |
number | the world; 0 = the shared one |
Returns
Section titled “Returns”boolean - false when refused or no such entity
Example
Section titled “Example”SetEntityVirtualWorld(prop, arenaWorld)See also
Section titled “See also”GetEntityVirtualWorld · SetPlayerVirtualWorld · the World entities group of the index
