Home
Feedback Tracker
Search
Configure Global Search
Log In
Transactions
T155913
Change Details
Change Details
Old
New
Diff
An event handler to detect when the unit's inventory changes would be nice. ``` this addEventHandler ["InventoryChanged", { params ["_unit", "_oldInventory", "_newInventory"]; }] ```
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"]; }] ```
An event handler t
o detect
hat triggers
when the unit's inventory
(`getUnitLoadout`)
changes would be n
ice
ice. 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"]; }] ```
Continue