Fabricio Posted October 16, 2024 Posted October 16, 2024 I'm running a hook script to monitor the state of the aircraft and trigger a joystick shaker I built. This is useful for things like shaking the throttle when AB is on, or shaking the stick when the aircraft is buffeting and so on. I use: net.dostring_in("mission", code) to install an event handle to capture interesting airplane actions, like firing a gun or ejecting. This is all working well, except when I'm playing a paid campaign. Any attempt to execute code in "mission" returns: "Invalid state name". I suspect that this is due to mission scripts being encrypted. Is this indeed the reason? If yes, is there any other way to register a world.addEventHandler() to capture aircraft events and set a few variables for those missions? Thanks, Fabricio.
Recommended Posts