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

Triggered when a player performs an action on an area tile. More...

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

Properties

int ActionId = NWScript.GetLastTileActionId() [get]
 Gets the action ID (surfacemat.2da) that was selected by the player.
 
NwPlayer Player = NWScript.GetLastPlayerToDoTileAction().ToNwPlayer()! [get]
 Gets the NwPlayer that performed a tile action.
 
Vector3 TargetPosition = NWScript.GetLastTileActionPosition() [get]
 Gets the position that was clicked.
 
- Properties inherited from Anvil.API.Events.IEvent

Detailed Description

Triggered when a player performs an action on an area tile.


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