SetLockLockable

// Sets whether or not the object can be locked. // - oObject: a door or placeable. // - nLockable: TRUE/FALSE void SetLockLockable(object oObject, int nLockable=TRUE)

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