Difference between revisions of "Unlock"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Fella
imported>Vswe
m (Added Search Terms)
Line 19: Line 19:
[[Category: Miscellaneous Functions]]
[[Category: Miscellaneous Functions]]
[[Category: Miscellaneous Functions (CS 1.0)]]
[[Category: Miscellaneous Functions (CS 1.0)]]
<!-- Begin Search Terms
Unlock
lockAdded
End Search Terms -->

Revision as of 15:07, 20 June 2008

Syntax:

Unlock unlockAsOwner (optional)

Example:

Unlock 
Unlock 1 


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