Home   Help Search Login Register  

Author Topic: time  (Read 961 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
time
« on: 26 Jun 2005, 12:06:52 »
okay ive got some little thing about time ive seen somewhere you have to do something with the time to get the actual time you want
eg say i want all the fires to turn on when the time gets past 21:00hours then i take 20:00 and multiply it by somethig to get the actual time

then that leads onto my second question when time is past 20:00 i want an officer night equitment to start launching flares every 5minutes until it runs out then simply addmagazine the guy some more flares then he carries on but after every 3flares he fires he waits 10mins before starting to fire more

qqqqqq

  • Guest
Re:time
« Reply #1 on: 26 Jun 2005, 12:54:53 »
daytime

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:time
« Reply #2 on: 26 Jun 2005, 13:05:57 »
There's a lot to be said for reading the command reference.

Doing so, not once but several times, will give you a good idea of what is available.   8)


Planck
« Last Edit: 26 Jun 2005, 19:09:11 by Planck »
I know a little about a lot, and a lot about a little.

Offline 456820

  • Contributing Member
  • **
Re:time
« Reply #3 on: 26 Jun 2005, 14:24:14 »
ok how would i use this as in the com ref it doesnt have an example
also what about the second question about the guy firing flares ?

qqqqqq

  • Guest
Re:time
« Reply #4 on: 26 Jun 2005, 15:35:11 »
Trigger

daytime > 20
[] exec "flarescript.sqs"

Offline 456820

  • Contributing Member
  • **
Re:time
« Reply #5 on: 26 Jun 2005, 16:21:05 »
thanks but what about the 20 does that mean 20:00 ?

CopyrightPhilly

  • Guest
Re:time
« Reply #6 on: 26 Jun 2005, 16:23:44 »
like it was said above, use the command reference

http://www.ofpec.com/editors/comref.php

and the 20 is in hours (0 being 00:00, 23 being 23:00)

cheers,
Phil