KeyValues.JumpToKey Method

Sets the current position in the KeyValues tree to the given key.

bool JumpToKey(const char[] key, bool create)

Parameters

const char[] key

Name of the key.

bool create

If true, and the key does not exist, it will be created.

Return Value

True if the key exists, false if it does not and was not created.