Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Time Travel With LUA Scripting

 
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 >> Time Travel With LUA Scripting Page: [1]
Login
Message << Older Topic   Newer Topic >>
Time Travel With LUA Scripting - 12/20/2017 9:33:14 AM   
butch4343

 

Posts: 327
Joined: 3/26/2015
Status: offline
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
Post #: 1
RE: Time Travel With LUA Scripting - 12/20/2017 12:57:55 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Do you mean jump the clock forward? Without actually any real time elapsing?

_____________________________

Michael

(in reply to butch4343)
Post #: 2
RE: Time Travel With LUA Scripting - 12/20/2017 1:09:07 PM   
butch4343

 

Posts: 327
Joined: 3/26/2015
Status: offline
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

(in reply to michaelm75au)
Post #: 3
RE: Time Travel With LUA Scripting - 12/22/2017 1:26:44 PM   
butch4343

 

Posts: 327
Joined: 3/26/2015
Status: offline
*Bump

Anyone any ideas if this is possible?

Regards

Butch

(in reply to butch4343)
Post #: 4
RE: Time Travel With LUA Scripting - 1/3/2018 8:28:33 AM   
Rory Noonan

 

Posts: 2816
Joined: 12/18/2014
From: Brooklyn, NY
Status: offline
Not possible as far as I’m aware.

Maybe worth a feature request?

(in reply to butch4343)
Post #: 5
RE: Time Travel With LUA Scripting - 1/5/2018 10:51:32 AM   
butch4343

 

Posts: 327
Joined: 3/26/2015
Status: offline
Guys,

I have posted this in the DB3000 as a request.

Regards

Butch

(in reply to Rory Noonan)
Post #: 6
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> Time Travel With LUA Scripting 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

3.297