Page MenuHomeFeedback Tracker

[Feature Request] InventoryChanged event handler
New, NormalPublic

Description

An event handler that triggers when the unit's inventory (getUnitLoadout) changes would be nice. If it could also tell "how" it was changed (e.g. a new magazine added to the vest) that would be even better.

this addEventHandler ["InventoryChanged", {
 params ["_unit", "_oldInventory", "_newInventory"];
}]

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
Feature Request

Event Timeline

Leopard20 renamed this task from [Feature Request] InventoryModified event handler to [Feature Request] InventoryChanged event handler.
Leopard20 updated the task description. (Show Details)
Leopard20 updated the task description. (Show Details)Dec 30 2020, 12:59 AM
7erra added a subscriber: 7erra.Dec 30 2020, 1:03 AM