How to change an aircraft's exhaustion via Lua

All discussions & material related to Command's Lua interface

Moderators: RoryAndersonCDT, michaelm75au, angster, MOD_Command

Post Reply
Redeye43
Posts: 63
Joined: Wed Jan 05, 2022 7:37 pm

How to change an aircraft's exhaustion via Lua

Post by Redeye43 »

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?
Post Reply

Return to “Lua Legion”