Time Travel With LUA Scripting

All discussions & material related to Command's Lua interface

Moderators: RoryAndersonCDT, michaelm75au, angster, MOD_Command

Post Reply
butch4343
Posts: 327
Joined: Thu Mar 26, 2015 2:09 pm

Time Travel With LUA Scripting

Post by butch4343 »

Folks,

Another question from me (I know am full of them right now)

I was wondering is it possible to "time travel" with LUA? By that I mean is it possible to set up a script to jump forward in time?

Ie I have a QRA sortie that takes place at 0800hrs 01/12/2017, then nothing happens in my scenario to say 2100hrs, is it possible to use a LUA to fast forward through time to 2100hrs 01/12/2017 or any other time I choose?

I know the LUA documentation mentions get current time, but I cant see if it is possible to set a script up that changes the current time in the scenario.

Any Ideas?

REgards

Butch
User avatar
michaelm75au
Posts: 12463
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: Time Travel With LUA Scripting

Post by michaelm75au »

Do you mean jump the clock forward? Without actually any real time elapsing?
Michael
butch4343
Posts: 327
Joined: Thu Mar 26, 2015 2:09 pm

RE: Time Travel With LUA Scripting

Post by butch4343 »

Michaelm,

Exactly mate, I know the player could simply use the time accelerate button, but wondered if there was a tidier way where the scenario designer could do it for the player.

Regards
butch4343
Posts: 327
Joined: Thu Mar 26, 2015 2:09 pm

RE: Time Travel With LUA Scripting

Post by butch4343 »

*Bump

Anyone any ideas if this is possible?

Regards

Butch
Rory Noonan
Posts: 2418
Joined: Thu Dec 18, 2014 1:53 am
Location: Brooklyn, NY

RE: Time Travel With LUA Scripting

Post by Rory Noonan »

Not possible as far as I’m aware.

Maybe worth a feature request?
Image
butch4343
Posts: 327
Joined: Thu Mar 26, 2015 2:09 pm

RE: Time Travel With LUA Scripting

Post by butch4343 »

Guys,

I have posted this in the DB3000 as a request.

Regards

Butch
Post Reply

Return to “Lua Legion”