Anvil
Loading...
Searching...
No Matches
Anvil.API.Events.ModuleEvents.OnPlayerTarget Class Referencesealed

Triggered when a NwPlayer that has targeted something. More...

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

Properties

bool IsCancelled [get]
 Gets if the player cancelled target selection.
 
NwPlayer Player = NWScript.GetLastPlayerToSelectTarget().ToNwPlayer()! [get]
 Gets the NwPlayer that has targeted something.
 
NwObjectTargetObject = NWScript.GetTargetingModeSelectedObject().ToNwObject()! [get]
 Gets the NwObject that has been targeted by Player, otherwise the area if a position was selected.
 
Vector3 TargetPosition = NWScript.GetTargetingModeSelectedPosition() [get]
 Gets the position targeted by the NwPlayer.
 
- Properties inherited from Anvil.API.Events.IEvent

Detailed Description

Triggered when a NwPlayer that has targeted something.


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