GetObjectVarVector

Last Updated2025-11-06
Created At2021-11-17

Gets an object's vector variable value.

native void GetObjectVarVector(int num, int offset, ObjectValueType type, float vec[3])

Parameters

int num
Parameter number to get, 0 for param "this", other parameters start from 1.
int offset
Byte offset within the object to the var to get.
Type of var it is.
float[3] vec
Buffer to store the result vector.

Return Value

void

Error

Invalid handle, invalid param number, invalid param type or invalid Object type.