CancelledUsingItem
Gets called when the player has cancelled the use of an item.
Start a script section
!-- OnEvent CancelledUsingItem
-- require @evPlayer *evUsableItem
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerCancelledUsingItemEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who cancelled using the item. |
*evUsableItem | reference to UsableItem object | Gets the item which the player cancelled using. |