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 [wiki]Actor[/wiki]'s alerted state has changed.
[h="2"] Declaration [/h]
<code cpp>
VAULTSCRIPT void OnActorAlert(vaultmp::ID, vaultmp::State);
forward OnActorAlert(ID, Bool:alerted);
</code>
[h="2"] Parameters [/h]
[b][wiki="ID"]vaultmp::ID[/wiki][/b] - the ID of the [wiki]Actor[/wiki]
[b][wiki="State"]vaultmp::State[/wiki][/b] - the alerted state ([i]true[/i] - the [wiki]Actor[/wiki] is alerted, [i]false[/i] - the [wiki]Actor[/wiki] is no longer alerted)
[h="2"] Return value [/h]
None.
[h="2"] Related pages [/h]
[list][*][wiki]GetActorAlerted[/wiki]
[/LIST]
[category]VaultMP interface[/category]
[category]Scripting callbacks[/category]