This site has been archived and made available for preservation purposes. No edits can be made.

Category:SetLock

Sets the lock level of an Object.

[top]Declaration

Code cpp:
VAULTSCRIPT VAULTSPACE State (*VAULTAPI(SetLock))(VAULTSPACE ID, VAULTSPACE ID, VAULTSPACE Lock) VAULTCPP(noexcept);
Code c:
native Bool:SetLock(ID, actor, Lock:lock);

[top]Parameters

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

[top]Return value

Return State::True if success

[top]Related pages

Pages in category "SetLock"

There are 0 pages in this section of this category.