Unlock
Revision as of 10:46, 13 December 2010 by imported>Bruneauinfo (Changed syntax and examples to show use with a particular object.)
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]