This site has been archived and made available for preservation purposes. No edits can be made.
OnActorSneak
(Difference between revisions)
Return to current revision
-
+
Gets called when an [wiki]Actor[/wiki]'s sneaking state has changed.
[h="2"] Declaration [/h]
<code cpp>
VAULTSCRIPT void OnActorSneak(vaultmp::ID, vaultmp::State);
forward OnActorSneak(ID, Bool:sneaking);
</code>
[h="2"] Parameters [/h]
[b][wiki="ID"]vaultmp::ID[/wiki][/b] - the ID of the [wiki]Actor[/wiki]
[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)
[h="2"] Return value [/h]
None.
[h="2"] Related pages [/h]
[list][*][wiki]GetActorSneaking[/wiki]
[/LIST]
[category]VaultMP interface[/category]
[category]Scripting callbacks[/category]