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

OnActorSneak

This is an old revision of this page, as edited 09-28-2011, 07:34 PM by . It may differ significantly from the current revision.
Gets called when an [[Actor]]'s sneaking state has changed.

== Declaration ==
<code cpp>
VAULTSCRIPT void OnActorSneak(vaultmp::ID, vaultmp::State);
forward OnActorSneak(ID, Bool:sneaking);
</code>
== Parameters ==

'''[[ID|vaultmp::ID]]''' - the ID of the [[Actor]]

'''[[State|vaultmp::State]]''' - the sneaking state (''true'' - the [[Actor]] is sneaking, ''false'' - the [[Actor]] is no longer sneaking)

== Return value ==

None.