Triggered when a player performs an action on an area tile.
More...
|
int | ActionId = NWScript.GetLastTileActionId() [get] |
| Gets the action ID (surfacemat.2da) that was selected by the player. More...
|
|
NwPlayer | Player = NWScript.GetLastPlayerToDoTileAction().ToNwPlayer()! [get] |
| Gets the NwPlayer that performed a tile action. More...
|
|
Vector3 | TargetPosition = NWScript.GetLastTileActionPosition() [get] |
| Gets the position that was clicked. More...
|
|
NwObject? | Context [get] |
|
Triggered when a player performs an action on an area tile.
◆ ActionId
int Anvil.API.Events.ModuleEvents.OnPlayerTileAction.ActionId = NWScript.GetLastTileActionId() |
|
get |
Gets the action ID (surfacemat.2da) that was selected by the player.
◆ Player
NwPlayer Anvil.API.Events.ModuleEvents.OnPlayerTileAction.Player = NWScript.GetLastPlayerToDoTileAction().ToNwPlayer()! |
|
get |
Gets the NwPlayer that performed a tile action.
◆ TargetPosition
Vector3 Anvil.API.Events.ModuleEvents.OnPlayerTileAction.TargetPosition = NWScript.GetLastTileActionPosition() |
|
get |
Gets the position that was clicked.
The documentation for this class was generated from the following file:
- NWN.Anvil/src/main/API/Events/Game/ModuleEvents/ModuleEvents.OnPlayerTileAction.cs