Unlock

From the Oblivion ConstructionSet Wiki
Revision as of 10:46, 13 December 2010 by imported>Bruneauinfo (Changed syntax and examples to show use with a particular object.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax:

ObjectRef.Unlock unlockAsOwner (optional)

Example:

Unlock 
Unlock 1 
MySpecialDoorRef.Unlock


Unlocks the door or container. If you use the optional UnlockAsOwner flag, the door will be treated as if the owner unlocked it, for purposes of the AI determining whether entering the cell behind the door is treated as trespassing or not. With UnlockAsOwner = 0, whether the cell is treated as public or private is unaffected.


See Also[edit | edit source]