Page MenuHomeFeedback Tracker

TAKE and PUT event handlers do not fire with "AddBag", "PutBag", "DropBag" actions
Assigned, WishlistPublic

Description

If you drop or pick up backpack with "AddBag", "PutBag", "DropBag" PUT or TAKE event handlers do not fire

Also when you addBackpack while player has a backpack, the old backpack is auto dropped to the ground, PUT eh doesn't fire either.

Details

Legacy ID
3156657253
Severity
None
Resolution
Open
Reproducibility
Always
Category
Inventory
Steps To Reproduce

add event handlers

player addEventHandler ["PUT", {hint str _this}];
player addEventHandler ["Take", {hint str _this}];

add backpack

player addBackpack "B_Parachute";

now add again

player addBackpack "B_Parachute";

old backpack is on the ground no eh triggered

drop backpack

player action ["PutBag"];

dropped on the ground, no eh triggered

pick up (point at the backpack)

player action ["AddBag", cursorTarget, "B_Parachute"];

nope still not firing

Additional Information

tested on dedi

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Inventory.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Open.
Killzone_Kid set Legacy ID to 3156657253.May 7 2016, 5:56 PM
Bohemia added a subscriber: AD2001.Feb 12 2014, 3:32 PM