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

Category:SetLock

(Difference between revisions)
Return to current revision
  1.  
    Sets the lock level of an [wiki]Object[/wiki].

    [h="2"] Declaration [/h]
    [highlight=cpp]
    VAULTSCRIPT VAULTSPACE State (*VAULTAPI(SetLock))(VAULTSPACE ID, VAULTSPACE ID, VAULTSPACE Lock) VAULTCPP(noexcept);
    [/highlight]
    [highlight=c]
    native Bool:SetLock(ID, actor, Lock:lock);
    [/highlight]
    [h="2"] Parameters [/h]
    [B][wiki="ID"]ID[/wiki][/B] - the ID of the [wiki]Object[/wiki]
  2. -
    [B][wiki="ID"]actor[/wiki][/B] - the ID of the [wiki]Actor[/wiki] who caused the state change
  3. +
    [B][wiki="Actor"]actor[/wiki][/B] - the ID of the [wiki]Actor[/wiki] who caused the state change
  4.  
    [B][wiki="Lock"]Lock[/wiki][/B] - the new lock state of the [wiki]Object[/wiki]
    [h="2"] Return value [/h]
    Return [wiki]State[/wiki]::True if success
    [h="2"] Related pages [/h]
    [LIST]
    [*][wiki]GetLock[/wiki]
    [*][wiki]OnLockChange[/wiki]
    [/LIST]
    [category]VaultMP interface[/category]
    [category]Scripting functions[/category]

Pages in category "SetLock"

There are 0 pages in this section of this category.