LUA to launch boats or aircraft from bases (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion



Message


tmoilanen -> LUA to launch boats or aircraft from bases (7/6/2019 8:20:09 PM)

Is there a way to launch boats or aircraft that are assigned to a base via LUA?

I can determine the condition using the code below, but both condition and condition_v are READONLY attributes.

u = ScenEdit_GetUnit({name="USS San Jacinto"})
print(u)
print(u.condition)

Any help would be appreciated...tm




michaelm75au -> RE: LUA to launch boats or aircraft from bases (7/7/2019 5:46:53 AM)

There isn't really an option to do this directly. It does sound like a 'sound' idea though; would complement unit RTB.
So I will look at adding a 'launch' option to the unit wrapper for future release. This would handle both aircraft and boat units.





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.015625