GetAllObjects
From Onset Developer Wiki
Description
Returns existing object ids in a table. If you have ten thousands of objects then don't call this too often.
Syntax
GetAllObjects()
Parameters
- This function has no parameters.
Return Value
- Returns a table with a list of all object ids.
Example
local objects = GetAllObjects()
See also
- SetObjectDimension
- GetObjectDimension
- SetObjectPropertyValue
- GetObjectPropertyValue
- CreateObject
- DestroyObject
- IsValidObject
- GetObjectCount
- SetObjectModel
- GetObjectModel
- IsObjectStreamedIn
- EnableObjectStreamEvents
- SetObjectStreamDistance
- SetObjectLocation
- GetObjectLocation
- SetObjectRotation
- GetObjectRotation
- SetObjectScale
- GetObjectScale
- SetObjectAttached
- SetObjectDetached
- IsObjectAttached
- GetObjectAttachmentInfo
- IsObjectMoving
- SetObjectMoveTo
- StopObjectMove
- SetObjectRotateAxis
- GetAllObjects