EnableObjectStreamEvents: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|Enables or disables StreamIn/Out events for objects. Disabled by default.}} {{FuncSyntax|EnableObjectStreamEvents(bEnable)}}..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Server|1.0}} | {{Info|Function|Server|1.5.0}} | ||
{{FuncDescription|Enables or disables StreamIn/Out events for objects. Disabled by default.}} | {{FuncDescription|Enables or disables StreamIn/Out events for objects. Disabled by default.}} |
Latest revision as of 14:29, 18 July 2021
Description
Enables or disables StreamIn/Out events for objects. Disabled by default.
Syntax
EnableObjectStreamEvents(bEnable)
Parameters
- bEnable
true to enable, false to disable.
Return Value
- This function returns noting.
Example
function OnPackageStart()
EnableObjectStreamEvents(true)
end
AddEvent("OnPackageStart", OnPackageStart)
See also
- CreateObject
- DestroyObject
- IsValidObject
- GetObjectCount
- GetObjectModel
- IsObjectStreamedIn
- EnableObjectStreamEvents
- SetObjectStreamDistance
- SetObjectLocation
- GetObjectLocation
- SetObjectRotation
- GetObjectRotation
- SetObjectScale
- GetObjectScale
- SetObjectAttached
- SetObjectDetached
- IsObjectAttached
- GetObjectAttachmentInfo
- IsObjectMoving
- SetObjectMoveTo
- StopObjectMove
- SetObjectRotateAxis
- GetObjectModelCount
- GetObjectMass
- GetStreamedObjects
- GetObjectBoundingBox
- GetObjectSize
- EnableObjectHitEvents
- SetObjectEditable
- SetObjectOutline
- SetObjectColor
- SetObjectEmissiveColor
- SetObjectTexture
- SetObjectAnimatedTexture
- SetObjectCastShadow
- SetObjectDimension
- GetObjectActor
- GetAllObjects
- SetObjectModel