SetObjectVarVector
Sets an object's vector variable value.
The changes are only applied when MRES_ChangedHandled or MRES_ChangedOverride
is returned in the callback.
native void SetObjectVarVector(int num, int offset, ObjectValueType type, const float vec[3])Parameters
int num
Parameter number to set, 0 for param "this", other parameters start from 1.
int offset
Byte offset within the object to the var to set.
const float[3] vec
The value to set the vector var to.
Return Value
voidError
Invalid handle, invalid param number, invalid param type or invalid Object type.