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]
  2. -
    VAULTSCRIPT vaultmp::Void OnActorDeath(vaultmp::ID);
    forward OnActorDeath(ID);
  3. +
    VAULTSCRIPT VAULTSPACE Void OnActorDeath(VAULTSPACE ID, VAULTSPACE Limb, VAULTSPACE Death) _CPP(noexcept);
    forward OnActorDeath(ID, Limb:limbs, Death:cause);
  4.  
    [/highlight]
    [h="2"] Parameters [/h]
  5. -
    [b][wiki="ID"]vaultmp::ID[/wiki][/b] - the ID of the [wiki]Actor[/wiki]
  6. +
    [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
  7.  
    [h="2"] Return value [/h]
    None.
    [h="2"] Related pages [/h]
    [list][*][wiki]GetActorDead[/wiki]
    [/LIST]
    [category]VaultMP interface[/category]
    [category]Scripting callbacks[/category]