Anvil
Anvil.API.Events.ModuleEvents.OnPlayerDying Class Reference

Triggered when a NwPlayer enters a dying state (< 0 HP). More...

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

Properties

NwPlayer Player = NWScript.GetLastPlayerDying().ToNwPlayer()! [get]
 Gets the NwPlayer that has triggered the event. More...
 
- Properties inherited from Anvil.API.Events.IEvent
NwObjectContext [get]
 

Detailed Description

Triggered when a NwPlayer enters a dying state (< 0 HP).

Property Documentation

◆ Player

NwPlayer Anvil.API.Events.ModuleEvents.OnPlayerDying.Player = NWScript.GetLastPlayerDying().ToNwPlayer()!
get

Gets the NwPlayer that has triggered the event.


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