OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: jantsik112 on 14 May 2005, 19:48:22

Title: How to skip the time
Post by: jantsik112 on 14 May 2005, 19:48:22
I don't remember it anymore,can u guys help me...
what do i ahve to add to the trigger On activation field to skip the time
Title: Re:How to skip the time
Post by: dan ick on 14 May 2005, 21:01:45
 ;D

skiptime 1-change to how many hours u want to skip.

so for example if i wanted to skiptime forward 2 hours it would be like this.

skiptime 2


Dan :gunman:


Title: Re:How to skip the time
Post by: Flauta on 15 May 2005, 18:40:26
Allwise check the Online ComRef... or the OFPEC FAQ... 'cause they allwise have the answers for little questions....

all related commands:

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

daytime

Type of returned value:
    Number

Description:
    Time in the world, in hours.


Hope that helped...

cheers