KvSetVector Function

Sets a vector value of a KeyValues key.

void KvSetVector(Handle kv, const char[] key, const float vec[3])

Parameters

Handle kv

KeyValues Handle.

const char[] key

Name of the key, or NULL_STRING.

const float[3] vec

Vector value.

Errors

Invalid Handle.