Sets the lock level of an
Object.
Code cpp:
VAULTSCRIPT VAULTSPACE State (*VAULTAPI(SetLock))(VAULTSPACE ID, VAULTSPACE ID, VAULTSPACE Lock) VAULTCPP(noexcept);
Code c:
native Bool:SetLock(ID, actor, Lock:lock);
ID - the ID of the
Object
actor - the ID of the
Actor who caused the state change
Lock - the new lock state of the
Object
Return
State::True if success
GetLock
OnLockChange