DHookParam.GetObjectVarVector Method

Gets an object's vector variable value.

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

Parameters

int num

Parameter number to get, starting at 1.

int offset

Byte offset within the object to the var to get.

ObjectValueType type

Type of var it is.

float[3] vec

Buffer to store the result vector.

Errors

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