SharedEventData$ ( )

Parameters

None.

Description

Returns the text that goes with the current event.

It describes the event taken by the last RecvSharedEvent that returned True, until the next call. For SHARED_EVENT_SESSION_LOST and SHARED_EVENT_REJECTED it is the reason, ready to show to the player. When the host frees an entity that came with the world, a SHARED_EVENT_ENTITY_DESPAWNED event carries the world entity id of the part removed.

Returns "" for the other events, 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, SharedWorldError, WorldEntityID.

Index