Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

LUA to launch boats or aircraft from bases

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> LUA to launch boats or aircraft from bases Page: [1]
Login
Message << Older Topic   Newer Topic >>
LUA to launch boats or aircraft from bases - 7/6/2019 8:20:09 PM   
tmoilanen

 

Posts: 72
Joined: 10/19/2011
Status: offline
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
Post #: 1
RE: LUA to launch boats or aircraft from bases - 7/7/2019 5:46:53 AM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
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.



_____________________________

Michael

(in reply to tmoilanen)
Post #: 2
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> LUA to launch boats or aircraft from bases Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.906