SetObjectMoveTo: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
{{FuncParam|x|The X axis}} | {{FuncParam|x|The X axis}} | ||
{{FuncParam|y|The Y axis}} | {{FuncParam|y|The Y axis}} | ||
{{FuncParam|z |The Z axis}} | {{FuncParam|z|The Z axis}} | ||
{{FuncParamOptional|speed|The speed | {{FuncParamOptional|speed|The speed as a floating point number. (Centimeter per second)}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns '''true''' on success.}} | ||
== Example == | == Example == |
Revision as of 09:43, 28 September 2020
Description
Set the object to move to the specified coordinates.
Syntax
SetObjectMoveTo(object, x, y, z [, speed])
Parameters
- object
The object identifier. - x
The X axis - y
The Y axis - z
The Z axis - speed (optional)
The speed as a floating point number. (Centimeter per second)
Return Value
- Returns true on success.
Example
__EDIT_ME__
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