OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: fenster on 02 Feb 2003, 14:02:25

Title: time ?
Post by: fenster on 02 Feb 2003, 14:02:25
hi   guys i am  making a  mission  would  would be helped  if the player  had the   ability  to   speed  up time to   say   midnight  /noon    i would like   this   to happen   by  a  click   and then a  camp site   to appear  and   then   going black and then   cut to   the time  is it possible  im quite new   to this  editing game   so  if you could tell  me  what iwould  have to  do for this   to happpen  i think   it would be a trigger  but im not  sure what to put in it plese   help  ?
Title: Re:time ?
Post by: RunAwayScientist on 02 Feb 2003, 14:50:10

       Help? Yes sir, I do...

         Heh, your time idea is in luck today. It's a command called "Skiptime", which I've used un-doubtfully in my map "Cessena Fun", but that's another story...errr...

      Anyway, I've usually attached this command to the radio. The one where you hit, 0-0 while playing in game? Then you have your different radio options.

      So, here's how to do it:

1. OPen up your Mission in the editor.
2. Click a button, on the top of the screen, that says "Trigger"
3. Double Click near your Player to place a "Trigger"
4. In the triggers, "Activation" Field (Text-Box), enter this command: "skiptime 1". This means, that it will skip 1 hour. If you wanted it to skip 30 Mins, it'd be "skiptime 0.5".
5. Click on the "Activation" drop-down menu, and select "Radio Alpha".
6. Then, in the text field, enter "Skiptime 1 Hour". You can change this field, and the skiptime command too.

     THere you have it, click O.K., and preview your map. Go to the radio and hit Skiptime 1 Hour. Now, there's a problem. Double click on your trigger again, and change it from "Once" to "Repeatedly". THe two options should be on the right-hand side, near the top about mid-way.

     I hope this helps, and good luck with your map!

 -RunAWayScientist
Title: Re:time ?
Post by: fenster on 02 Feb 2003, 16:02:21
thanks for that   m8   it  worked and   it has helped  me   tons
Title: Re:time ?
Post by: RunAwayScientist on 03 Feb 2003, 06:50:31

  Ack...

      Ayy, these forums are starting to grow on me, fast.

        I was typing up a nice reply, with some more use-ful information, and a Command Reference you could use. But, it said the file was to large, I hit the back-button, and my total post was gone...Tsk tsk....

      Anyways, I'm glad it helped you. Usually I'm the one asking the question, well, the more advanced ones. Not once in a blue moon I get to help someone else...Errr....Doesn't make me a Scripting Guru...Does it?.....

    I thought you might be interested in a Command Reference, an Un-Official Command Reference V.s 1.46 Something. It's more than just a Command Reference, and it's more than Un-Official too, it's got all commands known to OFP (Operation Flashe Pointe). It has animations, Weapons Lists, and much much more. THe only thing it doesn't have is a Building List (nudge, nudge).

     It's accurate up to the Original Game, not for Operation Flash Pointe: Resitance...The one I have I can just send it to you, alot easier than digging around with the Search....

      Well, contact me if interested, a command reference like this could help ya out alot. Did me...You'll even see the Skiptime command in there...Look it up...Go ahead I dare ya...I still dare ya...I double Dare you....No wait, I TRIPLE dare you...Yeah, go on...I'm still daring you...No, I Dare YOU....


    -RunAwayScientist