This helped me a lot finding this thread: "EventInvoke and it has to be set to 1 - Asynchronous". If you are using OpenDCL and saving the settings to xrecords, you need to make the button that calls the event function referencing (entmakex) inside of it "EventInvoke = 1 - Asynchronous" for (entmakex) to work. Otherwise you end up in a maddening troubleshooting condition where the code implementing entmakex should work as normal but doesn't.