Mod:Creation Kit/GetKey - ObjectReference

Mod:Creation Kit/Category:Scripting Mod:Creation Kit/Category:Papyrus Member of: Mod:Creation Kit/ObjectReference Script

Obtains the Key that unlocks this object (or None if the object does not have a key, or is not lockable).

Parameters
None.

Return Value
The Key that will unlock this object. If the object is not lockable, it will return None.