Home   Help Search Login Register  

Author Topic: @ _Time??  (Read 640 times)

0 Members and 1 Guest are viewing this topic.

Offline Captain Crunch

  • Members
  • *
@ _Time??
« on: 25 Jun 2004, 00:11:31 »
Hi Everyone!

   I haven't been here for a long time. Last time I tryed the site was down. Glad to see it back up!


I started editing a little again. My question:

I want a western unit to kill a civilian at 0700. So in a script I typed:

@ 0700

Unit DoTarget Prey
~2
Unit DoFire Prey


I'm doing something wrong. I think I don't typer the time in properly. Anyone can help me?

            Thanx in advance

P.S. Is OFP2 really coming out at the end of the year?? WOOHOO!!!
Back to the forest!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:@ _Time??
« Reply #1 on: 25 Jun 2004, 00:18:26 »
You need a condition with an @ command:  you have no condition.   What you need is something like

@ dayTime >= 7

but don't quote me on the syntax.

This is quite CPU intensive and, assuming the last second isn't critical, you'd be better of with something like

#loop
~5
? dayTime >= 7 goto "shoot"
goto "loop"

#shoot
loon1 doTarget etc etc

The signs of OFP2 are good at the moment.  However, I'll believe it when I see it.    
Plenty of reviewed ArmA missions for you to play

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:@ _Time??
« Reply #2 on: 25 Jun 2004, 08:10:39 »
P.S. Is OFP2 really coming out at the end of the year?? WOOHOO!!!

Who said that? Gimme link, LINK NOW!!!!

:beat: *Gets Linked* :beat:

Offline Captain Crunch

  • Members
  • *
Re:@ _Time??
« Reply #3 on: 26 Jun 2004, 00:58:11 »
Thanx for the reply macguba! Works fine now!

For The real Armstrong:

Quote
Who said that? Gimme link, LINK NOW!!!!


http://www.codemasters.com/flashpoint2/uk/operationflashpoint2.php

But like macguba said, I'll believe it when I see it! (There might be delays as it often happens with games.) But I can be patient for such piece!
Back to the forest!