Page MenuHomeFeedback Tracker

[Feature request] Override Take/Put eventhandlers like InventoryOpened
Closed, ResolvedPublic

Description

Hello,

the eventhandler InventoryOpened allows us to cancel the action if we return "true" at the end.
That's a great feature, could we have it available for Take and Put events ?
It would for example allow mission makers to prevent people from taking items they're not allowed to.

Details

Severity
Feature
Resolution
Not Fixable
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce
player addEventHandler ["InventoryOpened", {
	true; // <-- inventory override
}];
Additional Information

Event Timeline

reekoj created this task.Dec 22 2023, 3:21 PM
h- added a subscriber: h-.Dec 22 2023, 5:13 PM
dedmen closed this task as Resolved.Jan 16 2024, 4:58 PM
dedmen claimed this task.
dedmen added a subscriber: dedmen.

No, not possible. Engine limitations

dedmen changed Resolution from Open to Not Fixable.Jan 16 2024, 4:59 PM