Throwables
Usage
This package utilizes the default inventory package to implement throwable items.
Usage
- Create a new template from the item you want to throw
- Add the inventoryItemSpecScript to the item - we need this, because the things you’re throwing are going to be in selectable in your inventory.
- Add the projectileScript to the item - this is from the official Rocket Launcher package, and is going to power our throwable item.
- Drag the Throwable template onto the item.
That’s it! When you select the item in your inventory, you’ll be able to throw it using the primary button.
There is a grenade example included in the package for you to explore, and there’s also a playable example over yonder: Crayta 2