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

OnActorAlert

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 alerted state has changed.

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

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

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

== Return value ==

None.