[WAD][B1825] Cannot set the mission's takeoff, start, and end times via Lua.

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
stepbackjumper2
Posts: 33
Joined: Tue Jul 04, 2023 11:00 pm

[WAD][B1825] Cannot set the mission's takeoff, start, and end times via Lua.

Post by stepbackjumper2 »

Image
Cannot set the mission's takeoff, start, and end times via Lua.
User avatar
michaelm75au
Posts: 12463
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

Re: [B1825] Cannot set the mission's takeoff, start, and end times via Lua.

Post by michaelm75au »

The expected date format is 'DDMMYYYY' for the wrapper.

However, we have added some override formats to help with the various ways the date can be shown. The character ! after the timestamp tells program how to interpret the string.

m.starttime = "2027-06-09 1:30:00!yyyy-MM-dd H:mm:ss"
m.starttime = "09/06/2027 01:30:00!dd/MM/yyyy HH:mm:ss"
Michael
stepbackjumper2
Posts: 33
Joined: Tue Jul 04, 2023 11:00 pm

Re: [B1825] Cannot set the mission's takeoff, start, and end times via Lua.

Post by stepbackjumper2 »

It works. Thank you.
Post Reply

Return to “Tech Support”