Page MenuHomeFeedback Tracker

"Put" Event Handler Broken for Weapon Attachments
New, WishlistPublic

Description

The "Put" event handler gives the wrong container when moving an item from a weapon attachment slot. The container should be where it was actually placed, not where it came from.

For example, if the player moves his weapon sight into his uniform, the returned container should be equal to "uniformContainer player".

Details

Legacy ID
2234094285
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce
  1. Paste and run this code in debug console: player addEventHandler ["Put",{hint format (["Put: %3\nFrom: %1\nTo: %2"] + _this)}]
  2. Drag any drop any weapon attachment into the player's uniform, vest, or backpack.
  3. Notice "To: " shows the item moving to the player, when it should show it moving to the uniform
Additional Information

Event Timeline

Waffle_SS edited Additional Information. (Show Details)
Waffle_SS set Category to Scripting.
Waffle_SS set Reproducibility to Always.
Waffle_SS set Severity to None.
Waffle_SS set Resolution to Open.
Waffle_SS set Legacy ID to 2234094285.May 7 2016, 7:48 PM