OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: The-Architect on 11 Feb 2004, 01:12:57

Title: Set time
Post by: The-Architect on 11 Feb 2004, 01:12:57
I am makingh a cutscene and wish to change the time of during a Blackout so that it goes from night to day when the blackin comes into affect.

I have looked in the command reference but cannot find a solution.  >:(

I need the correct syntax for the .sqs script if possible.
Cheers.
Title: Re:Set time
Post by: deaddog on 11 Feb 2004, 01:17:23
You should look harder :)

skipTime duration
Operand types:
    duration: Number
Type of returned value:
    Nothing
Description:
    Skip time. Daytime is adjusted, weather change is estimated, no changes in any units are done. Duration is in hours.

Example:
    skipTime 2.5
Title: Re:Set time
Post by: The-Architect on 11 Feb 2004, 01:28:28
Thank you.