This site has been archived and made available for preservation purposes. No edits can be made.
OnActorAlert
(Difference between revisions)
Return to 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.