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

GetActorAlerted

Retrieves the alerted state of an Actor.

[top]Declaration

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

[top]Parameters

vaultmp::ID - the ID of the Actor

[top]Return value

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

[top]Usage example (C++)

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