Anvil
Anvil.API.Events.ModuleEvents.OnPlayerDeath Class Reference

Triggered when a NwPlayer dies. More...

+ Inheritance diagram for Anvil.API.Events.ModuleEvents.OnPlayerDeath:
+ Collaboration diagram for Anvil.API.Events.ModuleEvents.OnPlayerDeath:

Properties

NwPlayer DeadPlayer = NWScript.GetLastPlayerDied().ToNwPlayer()! [get]
 Gets the NwPlayer that has triggered the event. More...
 
NwObjectKiller [get]
 Gets the NwGameObject that caused NwPlayer to trigger the event. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Triggered when a NwPlayer dies.

Property Documentation

◆ DeadPlayer

NwPlayer Anvil.API.Events.ModuleEvents.OnPlayerDeath.DeadPlayer = NWScript.GetLastPlayerDied().ToNwPlayer()!
get

Gets the NwPlayer that has triggered the event.

◆ Killer

NwObject? Anvil.API.Events.ModuleEvents.OnPlayerDeath.Killer
get

Gets the NwGameObject that caused NwPlayer to trigger the event.


The documentation for this class was generated from the following file: