Throwables

This package utilizes the default inventory package to implement throwable items.

Usage

  1. Create a new template from the item you want to throw
  2. Add the inventoryItemSpecScript to the item - we need this, because the things you’re throwing are going to be in selectable in your inventory.
  3. Add the projectileScript to the item - this is from the official Rocket Launcher package, and is going to power our throwable item.
  4. 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

1 Like