Home   Help Search Login Register  

Author Topic: Two Questions  (Read 530 times)

0 Members and 1 Guest are viewing this topic.

Isaioux2x

  • Guest
Two Questions
« on: 28 Apr 2004, 08:21:16 »
Yaaay, time to poke a dead questions with a stick :P

Say, i've got a mission that starts at 0:00. After the inital capture of the town. Can I change the time via the 'time' (or any other)  command? ie: from night to day.

Secondly, how can (can I even) monitor the conditions of radio commands through scripts? (This after deciding for my purposes one large script, rather than many small ones, with tons of triggers would be better)

Like I want the script to proceed when Radio Alpha is called.


Not that a lot of you care but I can't get enough of these capture and hold missions. :P They make for good co-op missions.  Especially if the terrain is just right and gives you the perfect vantage point to assualt incoming convoys/formations :P Helicopter gets shot down/deleted to reduce lag after a couple of seconds after it was taken. The lag isn't actually that bad at all, anyways, time to shutup :P

j-man

  • Guest
Re:Two Questions
« Reply #1 on: 28 Apr 2004, 08:28:31 »
1. To change the time, use the skip time command:

using
Code: [Select]
skiptime 1, will cause the time to go ahead 1 hour. Using
Code: [Select]
skiptime 11.5 will cause time to go ahead 11 and a half hours.

2. I know it's possible, I've seen it before. But i'm not sure how to do it.

Isaioux2x

  • Guest
Re:Two Questions
« Reply #2 on: 28 Apr 2004, 09:15:12 »
1. To change the time, use the skip time command:

using
Code: [Select]
skiptime 1, will cause the time to go ahead 1 hour. Using
Code: [Select]
skiptime 11.5 will cause time to go ahead 11 and a half hours.

2. I know it's possible, I've seen it before. But i'm not sure how to do it.

BAH! I'm always going through the comref and I manage to miss something, thanks. If anyone knows the answer to #2 it'd be greatly appreciated.

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:Two Questions
« Reply #3 on: 28 Apr 2004, 23:41:46 »
In the on activation field of the trigger for radio alpha put:

[this, whatever, whateverelse] exec "myscript.sqs"

where the items in the brackets are what ever parameters you need passed to the script.

Isaioux2x

  • Guest
Re:Two Questions
« Reply #4 on: 29 Apr 2004, 00:14:14 »
In the on activation field of the trigger for radio alpha put:

[this, whatever, whateverelse] exec "myscript.sqs"

where the items in the brackets are what ever parameters you need passed to the script.

Yeah? I know that. ;D

However, I don't want tons of little scripts all over the place, I was wondering if I could tell if 'Alpha' has been called from within  a script.
« Last Edit: 29 Apr 2004, 00:14:46 by Isaioux2x »