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

OnActorDeath

(Difference between revisions)
Return to current revision
  1.  
    Gets called after an [wiki]Actor[/wiki] died.
    [h="2"] Declaration [/h]
    [highlight=cpp]
    VAULTSCRIPT VAULTSPACE Void OnActorDeath(VAULTSPACE ID, VAULTSPACE Limb, VAULTSPACE Death) _CPP(noexcept);
  2. +
    [/highlight]
    [highlight=c]
  3.  
    forward OnActorDeath(ID, Limb:limbs, Death:cause);
    [/highlight]
    [h="2"] Parameters [/h]
    [b][wiki="ID"]ID[/wiki][/b] - the ID of the [wiki]Actor[/wiki]
    [b][wiki="Limb"]Limb[/wiki][/b] - information about dismembered limbs
    [b][wiki="Death"]Death[/wiki][/b] - the cause of death
    [h="2"] Return value [/h]
    None.
    [h="2"] Related pages [/h]
    [list][*][wiki]GetActorDead[/wiki]
    [/LIST]
    [category]VaultMP interface[/category]
    [category]Scripting callbacks[/category]