How to change an aircraft's exhaustion via Lua
Posted: Fri Oct 25, 2024 3:44 am
I'm playing around a bit with Lua for my own purposes, and I can't seem to figure out how to alter aircraft exhaustion by Lua. Just getting the requisite unit and setting currentExhaustion to 0 fails since the method doesn't seem to have a setter. Are there any other exposed methods? Is this just not possible in Lua?