Jump to content


Photo
- - - - -

Setting Date and Time from console?


  • Please log in to reply
2 replies to this topic

#1 Deciman

Deciman
  • Member
  • Posts: 67

Posted 07 May 2017 - 10:56

Hi guys

 

I know that it's possible to trigger input from the console (Translator: Server Input)

I also know that 'Trigger:Date Time' can set a specified Time and/or Date.

 

Is it possible to get the time/date setting itself from the console, too (luaScript or so)

or do I have to create a specific trigger for each date I need and for each time I need?

 

Deci


  • 0

#2 Deciman

Deciman
  • Member
  • Posts: 67

Posted 17 May 2017 - 14:43

Ok, after testing it seems, that not even setting a time or date is not possible..

 

Created a 'Translator: Server Input' named as 'Time_08'

Linked it to a 'Trigger: Date time' (settings are 'Time mark' and the desired time '08:00:00', no config used)

 

Started the mission

Opend a console

Entered (after authentification) 'serverinput Time_08'

 

Servr responded:

---------SERVER OTPUT:
STATUS=1
-------------------------------------------
 

 

... but no changes to the clock in my plane. So the time was not changed...

 

Any ideas?

 

Deci


  • 0

#3 JimTM

JimTM
  • Posts: 133
  • LocationCanada

Posted 29 May 2017 - 22:17

I'm not sure of the answer to your console question, but the date time trigger is for triggering another MCU at a specified date and time, not for setting a date and time. For more information on using the date time trigger, see pg. 100 of the IL-2 Sturmovik (BoS) editor manual, which is pinned in this forum.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users