Description
Adds a specified item to a player's custom inventory slot, storing it as a retrievable value for use in item-based game modes. Each player supports a configurable number of inventory slots. Has no inherent gameplay effect; item behavior must be implemented separately via Workshop rules.
Snippet
Add To Player Inventory(Event Player, Custom String("Health Potion"), 1);
Properties
Returns: Void
Parameters: Player, Item, Quantity
Player
Type: Player, Default: Event Player
The player who will receive the item.Item
Type: String, Default: Custom String("")
The identifier of the item to add to the player's inventory.Quantity
Type: Number, Default: 1
The number of the specified item to add. Stacks with existing quantities of the same item.