SetObjectOutline: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetObjectOutline(object [, bEnable])}} {{FuncParameters}} {{FuncParam|object |__EDIT_ME__}} {{Func..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Set an object's outline.}} | ||
{{FuncSyntax|SetObjectOutline(object [, bEnable])}} | {{FuncSyntax|SetObjectOutline(object [, bEnable])}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|object | | {{FuncParam|object|The object identifier.}} | ||
{{FuncParamOptional|bEnable| | {{FuncParamOptional|bEnable|The boolean status.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns '''true''' on success.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
SetObjectOutline(objectId, true) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{ObjectFunctions}} |
Latest revision as of 10:19, 17 December 2019
Description
Set an object's outline.
Syntax
SetObjectOutline(object [, bEnable])
Parameters
- object
The object identifier. - bEnable (optional)
The boolean status.
Return Value
- Returns true on success.
Example
SetObjectOutline(objectId, true)
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