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

OnActorSneak

(Difference between revisions)
Return to current revision
  1.  
    Gets called when an [wiki]Actor[/wiki]'s sneaking state has changed.
    [h="2"] Declaration [/h]
    [highlight=cpp]
    VAULTSCRIPT vaultmp::Void OnActorSneak(vaultmp::ID, vaultmp::State);
    forward OnActorSneak(ID, Bool:sneaking);
    [/highlight]
    [h="2"] Parameters [/h]
    [b][wiki="ID"]vaultmp::ID[/wiki][/b] - the ID of the [wiki]Actor[/wiki]
  2. -
    [b][wiki="State"]vaultmp::State[/wiki][/b] - the sneaking state ([i]true[/i] - the [wiki]Actor[/wiki] is sneaking, [i]false[/i] - the [wiki]Actor[/wiki] is no longer sneaking)
  3. +
    [b][wiki="State"]vaultmp::State[/wiki][/b] - the sneaking state ([wiki]True[/wiki] - the [wiki]Actor[/wiki] is sneaking, [wiki]False[/wiki] - the [wiki]Actor[/wiki] is no longer sneaking)
  4.  
    [h="2"] Return value [/h]
    None.
    [h="2"] Related pages [/h]
    [list][*][wiki]GetActorSneaking[/wiki]
    [/LIST]
    [category]VaultMP interface[/category]
    [category]Scripting callbacks[/category]