OnObjectStreamIn

From Onset Developer Wiki
OnObjectStreamIn

Type: Event
Context: Client & Server
Introduced: v1.0/1.5.0

Description

Called when an object is streamed in from the server.

Note: On the server you must enable this event with EnableObjectStreamEvents first.

Syntax

OnObjectStreamIn(object)

Parameters

  • object
    The object identifier which streamed in.

Example

Client

AddEvent("OnObjectStreamIn", function (object)
    AddPlayerChat("You streamed in the object ID "..object..".")
end)

See also