Page MenuHomeFeedback Tracker

curatorToggleInterface action event handler never get's called
Feedback, NormalPublic

Description

Even when using no mods addUserActionEventHandler ["curatorToggleInterface", "Activate", { systemChat "Hello world!"; }]; doesn't do anything.
Doesn't work if curatorToggleInterface was rebound either.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Zeus - Modding
Steps To Reproduce

addUserActionEventHandler ["curatorToggleInterface", "Activate", { systemChat "Hello world!"; }];

Event Timeline

sh4rdknight changed Severity from None to Minor.
sh4rdknight changed Reproducibility from N/A to Always.
sh4rdknight renamed this task from curatorToggleInterface action never get's called to curatorToggleInterface action event handler never get's called.Feb 2 2024, 12:53 PM
dedmen changed the task status from New to Need More Info.EditedMar 15 2024, 12:55 PM
dedmen added a subscriber: dedmen.

Works for me.
curatorToggleInterface is backspace (That's not the Zeus open key which would be Z/Y).
And pressing backspace, it activates and prints to chat.

Oh nevermind, it works when not in zeus. But when the zeus interface is open, it doesn't.
The Zeus interface consumes and resets the key, before the eventhandlers are processed.

dedmen changed the task status from Need More Info to Feedback.Mar 15 2024, 1:03 PM

Its going to be fixed on next profiling branch/dev branch update, but I'm not sure if moving the event processing before the UI processing will break something else :D