DHookSetParamObjectPtrVarVector Function

Sets an objects vector variable value

void DHookSetParamObjectPtrVarVector(Handle hParams, int num, int offset, ObjectValueType type, float value[3])

Parameters

Handle hParams

Handle to params structure

int num

Param number to set.

int offset

Offset within the object to the var to set.

ObjectValueType type

Type of var it is

float[3] value

The value to set the vector var to.

Errors

Invalid handle. Invalid param number. Invalid param type. Invalid Object type.