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]
[highlight=cpp]
VAULTSCRIPT VAULTSPACE Void OnActorAlert(VAULTSPACE ID, VAULTSPACE State) _CPP(noexcept);
[/highlight]
[highlight=c]
forward OnActorAlert(ID, Bool:alerted);
[/highlight]
[h="2"] Parameters [/h]
[b][wiki="ID"]ID[/wiki][/b] - the ID of the [wiki]Actor[/wiki]
[b][wiki="State"]State[/wiki][/b] - the alerted state ([wiki]True[/wiki] - the [wiki]Actor[/wiki] is alerted, [wiki]False[/wiki] - 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]