GetObjectModel: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Server & Client|1.0}} | {{Info|Function|Server & Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Get the object model number ob a spawned object. See [[Objects]].}} | ||
{{FuncSyntax|GetObjectModel(object)}} | {{FuncSyntax|GetObjectModel(object)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|object| | {{FuncParam|object|The object identifier.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns the object model number as an integer.}} | ||
== Example == | == Example == |
Revision as of 20:36, 30 August 2020
Description
Get the object model number ob a spawned object. See Objects.
Syntax
GetObjectModel(object)
Parameters
- object
The object identifier.
Return Value
- Returns the object model number as an integer.
Example
__EDIT_ME__
See also
- GetObjectCount
- GetObjectModelCount
- GetObjectModelGroup
- GetObjectModelName
- GetStreamedObjects
- GetObjectLocation
- GetObjectRotation
- GetObjectScale
- GetObjectBoundingBox
- GetObjectSize
- EnableObjectHitEvents
- GetObjectMass
- SetObjectEditorSpeed
- SetObjectEditable
- SetObjectOutline
- SetObjectCastShadow
- SetObjectColor
- SetObjectEmissiveColor
- SetObjectTexture
- SetObjectAnimatedTexture