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

GetActorSneaking

Retrieves the sneaking state of an Actor.

[top]Declaration

Code cpp:
VAULTSCRIPT vaultmp::State (*GetActorSneaking)(vaultmp::ID);
native Bool:GetActorSneaking(ID);

[top]Parameters

vaultmp::ID - the ID of the Actor

[top]Return value

Returns a vaultmp::State containing the sneaking state (True - the Actor is sneaking, False - the Actor is not sneaking).

[top]Usage example (C++)

Code cpp:
vaultmp::State state;
state = GetActorSneaking(actor);