Item Spawner

Overview

The item spawner spawns items when a character enters the collider. These then spawn randomly in a radius determined by the Radius variable. These then spawn at the Spawn Point. You can set a min/max amount to spawn as well as a min/max quantity that will be given to the player when picking up the item. You can even set a chance for spawning! At a very basic level this can be used in loot scenarios.

Variables

Items

A list of items to spawn with various properties such as:

  • Item - which item to spawn

  • Min - The minimum amount to spawn

  • Max - The maximum amount to spawn

  • Quantity Min - The minimum amount of items to give the player when picking up

  • Quantity Max - The maximum amount of items to give the player when picking up

  • Chance - A chance to spawn the item

Spawn Point

The transform to spawn the items at

Radius

The radius of the items spawning around the box.

Last updated