| None. |
|
Returns your entity for the shared entity the current event is about, or 0. It describes the event taken by the last RecvSharedEvent that returned True, until the next call. For SHARED_EVENT_ENTITY_SPAWNED it is the new entity in your world - a good moment to give another player's character a name tag. Returns 0 when the event is not about an entity, when the entity has been removed since - always the case for SHARED_EVENT_ENTITY_DESPAWNED - and when there is no current event. For the full story - services, hosting, sharing and host migration - see the Shared World guide and its complete Shared_World_Playground.bb sample. See also: RecvSharedEvent, SharedEventType, SharedEntityID, SharedPlayerEntity. |