SetPickupLocation: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|Set a new location for a pickup.}} {{FuncSyntax|SetPickupLocation(pickup, x, y, z)}} {{FuncParameters}} {{FuncParam|pickup|Th..." |
FlyingFork (talk | contribs) No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Server|1.0}} | {{Info|Function|Server|1.1.0}} | ||
{{FuncDescription|Set a new location for a pickup.}} | {{FuncDescription|Set a new location for a pickup.}} | ||
Line 14: | Line 14: | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua> | |||
SetPickupLocation(pickup, 0, 0, 1000) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Template:ObjectFunctions}} | {{Template:ObjectFunctions}} |
Latest revision as of 14:37, 26 June 2021
Description
Set a new location for a pickup.
Syntax
SetPickupLocation(pickup, x, y, z)
Parameters
- pickup
The pickup identifier. - x
The X coordinate - y
The Y coordinate - z
The Z coordinate
Return Value
- Returns true on success..
Example
SetPickupLocation(pickup, 0, 0, 1000)
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