GetLockLevel - ObjectReference

From the CreationKit Wiki
Revision as of 00:13, 15 February 2012 by imported>Catwheezle (Added "see also" section items.)
Jump to navigation Jump to search

Member of: ObjectReference Script

Returns the level of the lock attached to this object. If there is no lock, it will return 0 - very easy.

Syntax

int Function GetLockLevel() native

Parameters

None.

Return Value

The level of the lock attached to this object.

Examples

; Is the lock very easy?
if (WeakChestProperty.GetLockLevel() == 0)
  Debug.Trace("Lock is very easy")
endIf

See Also