Obsidian unfortunately left some things hardcoded that I'd like to access. Namely, pickpocket and the set/remove trap skills. These skills can be accessed via the context menu. Looking into the context menu, the options for the buttons include the ExecuteServerScript function. Does that mean it should be possible to run our own scripts there by replacing the standard call to UIRadialNode_OnInit_UseSkill(int,int) with UIObject_Misc_ExecuteServerScript("gui_mystuff")?
The UIRadialNode_OnInit_UseSkill ultimately activates a call to the UseSkill function, which is hardcoded and unavailable.If UseSkill could be recreated, we could simply route calls to it to our own version. Unfortunately, there's no where to get this. Even nwnx doesn't seem to have it. It would not be necessary to recode the entire function, even specific functions for the individual skills we'd call would be sufficient.