This site has been archived and made available for preservation purposes. No edits can be made.
GetActorDead
(Difference between revisions)
Return to current revision
-
+
Retrieves the dead state of an [wiki]Actor[/wiki].
[h="2"] Declaration [/h]
<code cpp>
VAULTSCRIPT vaultmp::State (*GetActorDead)(vaultmp::ID);
native Bool:GetActorDead(ID);
</code>
[h="2"] Parameters [/h]
[b][wiki="ID"]vaultmp::ID[/wiki][/b] - the ID of the [wiki]Actor[/wiki]
[h="2"] Return value [/h]
Returns a [wiki="State"]vaultmp::State[/wiki] containing the dead state ([i]true[/i] - the [wiki]Actor[/wiki] is dead, [i]false[/i] - the [wiki]Actor[/wiki] is alive).
[h="2"] Usage example (C++) [/h]
<code cpp>
vaultmp::State state;
state = GetActorDead(actor);
</code>
[category]VaultMP interface[/category]
[category]Scripting functions[/category]
[category]Actor functions[/category]