Wooden Staff (HandProp)
This smart asset belongs to the following package:
- com.yahaha.sdk.horrorgameassets
The Wooden Staff (HandProp) is an in-game object that players can pick up, stack, inspect, and hold to perform attacks. It is ideal for use as a weapon or as a prop, such as sticks or similar items.
Properties
Property | Description |
---|---|
Name | Enter a unique name to identify and manage the item easily. |
Label | Enter the name displayed in-game when the player collects the item. |
Icon | Select a UI icon to represent the item in the inventory and hotbar. |
Stackable | Toggle to allow multiple instances of this item to stack in a single hotbar slot. Enabled by default. |
Interaction Distance | Maximum distance from which the player can interact with the item (e.g., pick it up). Default value: 2. |
Interactable | Toggle to enable player interaction within the specified distance. Enabled by default. |
Attack | The weapon's attack power when used to strike. Must be zero or greater. Default value: 1. |
Model
- Wooden Staff: The 3D model representing the Wooden Staff, held by the player during gameplay.
Events and Actions
Events
- OnPickedUp: Triggered when the item is picked up.
- OnHeld: Triggered when the item is held in hand.
- OnPackedUp: Triggered when the item is packed up into the hotbar slot.
- OnEnterInspection: Triggered when the player enters the inspection interface for this item.
- OnExitInspection: Triggered when the player exits the inspection interface for this item.
Actions
- IsPickable: Determines if the item can be picked up by the player.