Due to the recent resurgence of spam, we have temporarily disabled user creation and page editing/creation as we resolve the issue.

Inventory

From Snapwiki
Jump to: navigation, search

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.png Give Droppable Give the player the droppable specified in the input's properties. Expects a player as an activator.
GiveEquipment.png Give Equipment Give the player the equipment specified in the input's properties. Expects a player as an activator.
GiveWeapon.png Give Weapon Give the player the weapon specified in the input's properties. Expects a player as an activator.
GivePowerup.png Give Powerup Give the player the powerup specified in the input's properties. Expects a player as an activator.
RemoveEquipment.png Remove Equipment Remove the equipment specified in the input's properties. Expects a player as an activator.
RemoveWeapon.png Remove Weapon Remove the weapon specified in the input's properties. Expects a player as an activator.
TakeDroppable.png Remove Droppable Remove the droppable specified in the input's properties. Expects a player as an activator.
DropWeapon.png Drop Current Weapon Drop the current weapon from the activator's inventory. Expects a player as an activator.
GiveAmmo.png Give Ammo Will give ammo to the player.
TakeAmmo.png Take Ammo Will take ammo away from the player.

Outputs

OUTPUTS
RemoveDroppableFailed.png On Remove Droppable Failed When an attempt to remove a droppable from an inventory fails, send a signal. The player who owns the inventory is the activator.
RemoveDroppableSucceeded.png On Remove Droppable Succeeded When a droppable is successfully removed from an inventory, send a signal. The player who owns the inventory is the activator.

Properties

PROPERTIES
Property Type Description
Name String The name of this object. Rename an object to make it easy to identify.