Interaction Object Functions
Register core managed objects, remember, these are client-sided.
EnableObject
Enable an interaction object, allowing the object to spawn and spawning the current object if close enough
Parameter | Required | Type | Description |
---|---|---|---|
objectKey | String | Unique reference for the object |
DisableObject
Disable an interaction object, stopping the object from spawning and removing the current object if close enough
Parameter | Required | Type | Description |
---|---|---|---|
objectKey | String | Unique reference for the object |
CreateInteractionObject
Create and register an interaction object
Parameter | Required | Type | Description |
---|---|---|---|
objectKey | String | Unique reference for the object | |
objectOptions | Object | Options to spawn the object with |
GetCreatedObject
Get object information based on key
Parameter | Required | Type | Description |
---|---|---|---|
objectdKey | String | Unique reference for the object |
Last updated