OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Captain Crunch on 19 Jan 2004, 09:03:39

Title: @ a certain time!
Post by: Captain Crunch on 19 Jan 2004, 09:03:39
Many questions, many questions!!!


   I want to start a script at the begginning of my mission. At a precise time of the game, I would like a Scud missile to be launched. I know of one way:

I start my mission at 07:00 so if I want the Scud to be launched at 08:00, I type at the begginning of the script:

Code: [Select]
~3600
Then the rest of the script.

My question is, isn't there a nicer way to do this? I've seen in the comref the function "@" but can't figure out a correct syntax. Is there one?

Thanx for Your support!
Title: Re:@ a certain time!
Post by: Artak on 19 Jan 2004, 09:16:06
Try
@daytime >= 8
Title: Re:@ a certain time!
Post by: Captain Crunch on 19 Jan 2004, 09:29:42
Works great thanx Artak!!!