GetVehicleBoneLocation: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|Returns the location of a vehicle bone/socket.}} {{FuncSyntax|GetVehicleBoneLocation(vehicle, BoneName[, BoneSpace])}} {{Func..." |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription|Returns the location of a vehicle bone/socket.}} | {{FuncDescription|Returns the location of a vehicle bone/socket. For a list of bones see [[VehicleBones]].}} | ||
{{FuncSyntax|GetVehicleBoneLocation(vehicle, BoneName[, BoneSpace])}} | {{FuncSyntax|GetVehicleBoneLocation(vehicle, BoneName [, BoneSpace])}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|vehicle|The vehicle identifier.}} | {{FuncParam|vehicle|The vehicle identifier.}} | ||
{{FuncParam|BoneName|The bone name as string.}} | {{FuncParam|BoneName|The bone name as string. [[VehicleBones]]}} | ||
{{FuncParamOptional|BoneSpace|1 | {{FuncParamOptional|BoneSpace|1 for WorldSpace, 2 for LocalSpace.}} | ||
{{FuncReturnValue|Returns the location X, Y, Z.}} | {{FuncReturnValue|Returns the location X, Y, Z.}} |
Latest revision as of 14:24, 20 October 2019
Description
Returns the location of a vehicle bone/socket. For a list of bones see VehicleBones.
Syntax
GetVehicleBoneLocation(vehicle, BoneName [, BoneSpace])
Parameters
- vehicle
The vehicle identifier. - BoneName
The bone name as string. VehicleBones - BoneSpace (optional)
1 for WorldSpace, 2 for LocalSpace.
Return Value
- Returns the location X, Y, Z.
Example
__EDIT_ME__
See also
__EDIT_ME__