Inventory

Last modified by KDearnley on 2023/07/31 14:06

Inventory

The Inventory object is used to give or take inventory items from players.

Details

Inventory.PNG
Object: Inventory

Category: Player & Team

Inputs

INPUTS
GiveDroppable.pngGive DroppableGive the player the droppable specified in the input's properties. Expects a player as an activator.
GiveEquipment.pngGive EquipmentGive the player the equipment specified in the input's properties. Expects a player as an activator.
GiveWeapon.pngGive WeaponGive the player the weapon specified in the input's properties. Expects a player as an activator.
GivePowerup.pngGive PowerupGive the player the powerup specified in the input's properties. Expects a player as an activator.
RemoveEquipment.pngRemove EquipmentRemove the equipment specified in the input's properties. Expects a player as an activator.
RemoveWeapon.pngRemove WeaponRemove the weapon specified in the input's properties. Expects a player as an activator.
TakeDroppable.pngRemove DroppableRemove the droppable specified in the input's properties. Expects a player as an activator.
DropWeapon.pngDrop Current WeaponDrop the current weapon from the activator's inventory. Expects a player as an activator.
GiveAmmo.pngGive AmmoWill give ammo to the player.
TakeAmmo.pngTake AmmoWill take ammo away from the player.

Outputs

OUTPUTS
RemoveDroppableFailed.pngOn Remove Droppable FailedWhen an attempt to remove a droppable from an inventory fails, send a signal. The player who owns the inventory is the activator.
RemoveDroppableSucceeded.pngOn Remove Droppable SucceededWhen a droppable is successfully removed from an inventory, send a signal. The player who owns the inventory is the activator.

Properties

PROPERTIES
PropertyTypeDescription
NameStringThe name of this object. Rename an object to make it easy to identify.
Tags: Logic