OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Mike on 15 Oct 2002, 15:52:32

Title: Time of Day
Post by: Mike on 15 Oct 2002, 15:52:32
How do I change the time of day to a specific time (lets say 2:30pm)
Title: Re:Time of Day
Post by: seanver on 15 Oct 2002, 17:25:03
You'll see on the upper right corner the time, the date and the weather (normally a cloud). Click there and a window will appear. There you can change the time.
Title: Re:Time of Day
Post by: Mike on 16 Oct 2002, 03:02:56
Ha ha ha ... funny..


I want the CODE to change time.. I figured out how to do it ingame! :) Sorry about not being specific
Title: Re:Time of Day
Post by: LCD on 16 Oct 2002, 03:18:19
skiptime command  ;D

skiptime num

just put da number of hours u wanna pass  ;D

skiptime 1

will pas 1 hour

LCD OUT
Title: Re:Time of Day
Post by: Mike on 16 Oct 2002, 03:27:33
 :( :'(

Ok I know about skiptime and setacctime and stuff..

but I have a cutscene in the game after a battle and stuff, the cutscene is of a sunset. If the players take to long in the battle all they see for a sunset is the dark get darker.. and if they are too quick the sun wont set..

I need to be able to reset the time to the time I started off with (ill make it un-noticeable no worries about that) its just I need to set the specific time of day.. :(
Title: Re:Time of Day
Post by: LCD on 16 Oct 2002, 03:49:55
so u can use da daytime command  :) 2 reset da time 2 wen u need just do da next line  ;D

Code: [Select]
skiptime (num-daytime)

put in da place of num da hour dat damision started in  ;D

so it wil skip da exact hours backwards

LCD OUT
Title: Re:Time of Day
Post by: Mike on 16 Oct 2002, 07:18:21
 :cheers: Thanks it works great ;)