Triggered when a NwPlayer that has targeted something.
More...
Triggered when a NwPlayer that has targeted something.
◆ IsCancelled
bool Anvil.API.Events.ModuleEvents.OnPlayerTarget.IsCancelled |
|
get |
Gets if the player cancelled target selection.
◆ Player
NwPlayer Anvil.API.Events.ModuleEvents.OnPlayerTarget.Player = NWScript.GetLastPlayerToSelectTarget().ToNwPlayer()! |
|
get |
Gets the NwPlayer that has targeted something.
◆ TargetObject
NwObject? Anvil.API.Events.ModuleEvents.OnPlayerTarget.TargetObject = NWScript.GetTargetingModeSelectedObject().ToNwObject()! |
|
get |
Gets the NwObject that has been targeted by Player, otherwise the area if a position was selected.
◆ TargetPosition
Vector3 Anvil.API.Events.ModuleEvents.OnPlayerTarget.TargetPosition = NWScript.GetTargetingModeSelectedPosition() |
|
get |
Gets the position targeted by the NwPlayer.
The documentation for this class was generated from the following file:
- NWN.Anvil/src/main/API/Events/Game/ModuleEvents/ModuleEvents.OnPlayerTarget.cs