Page 1 of 1

Time Travel With LUA Scripting

Posted: Wed Dec 20, 2017 7:33 am
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

RE: Time Travel With LUA Scripting

Posted: Wed Dec 20, 2017 10:57 am
by michaelm75au
Do you mean jump the clock forward? Without actually any real time elapsing?

RE: Time Travel With LUA Scripting

Posted: Wed Dec 20, 2017 11:09 am
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

RE: Time Travel With LUA Scripting

Posted: Fri Dec 22, 2017 11:26 am
by butch4343
*Bump

Anyone any ideas if this is possible?

Regards

Butch

RE: Time Travel With LUA Scripting

Posted: Wed Jan 03, 2018 6:28 am
by Rory Noonan
Not possible as far as I’m aware.

Maybe worth a feature request?

RE: Time Travel With LUA Scripting

Posted: Fri Jan 05, 2018 8:51 am
by butch4343
Guys,

I have posted this in the DB3000 as a request.

Regards

Butch