// Set the key tag required to open object oObject.
// This will only have an effect if the object is set to
// "Key required to unlock or lock" either in the toolset
// or by using the scripting command SetLockKeyRequired().
// - oObject: a door, placeable or trigger.
// - sNewKeyTag: the key tag required to open the locked object.
void SetLockKeyTag(object oObject, string sNewKeyTag)

WARNING: This function is missing from NWN2 and thus any script which is imported that uses this function will fail to compile

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.