Home   Help Search Login Register  

Author Topic: wait between actions - command?  (Read 610 times)

0 Members and 1 Guest are viewing this topic.

Uber-Pea

  • Guest
wait between actions - command?
« on: 06 Jun 2004, 11:51:18 »
Hi, I'm pretty sure this was asked before, but search function didnt help again.

I'm looking for a command that sets a wait time between actions.
In this case it would be an activation field of a trigger/waypoint:

this exec "script1.sqs"; this wait 2 seconds; this exec "script2.sqs"

Somethin like that. I couldnt find anything in commands manual.

In this case all scripts are parachute scripts, 3 groups jumpin outta the same heli.  But as all scripts are called same time, always 3 men jump at a time which causes a hell of injuries.


Uber-Pea

Loup-Garou

  • Guest
Re:wait between actions - command?
« Reply #1 on: 06 Jun 2004, 11:59:38 »
You should use only use one script, like this :

Manoffirstgroup action ["EJECT",Nameofheli];unassignVehicle Manoffirstgroup

;do this with all men of the first group then wait
;Let's say 50 seconds

~50

;then the second group jumps

Manofsecondgroup action ["EJECT",Nameofheli];unassignVehicle Manofsecondgroup
« Last Edit: 06 Jun 2004, 12:00:15 by Loup-Garou »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:wait between actions - command?
« Reply #2 on: 06 Jun 2004, 16:47:12 »
I don't think there is a "wait" command that you can use in a trigger.      However, it doesn't matter:  if all else fails just make the trigger call a short script that does whatever you need.   If you have more than about two things to do when a trigger is fired that is what you should do anyway.
Plenty of reviewed ArmA missions for you to play

Uber-Pea

  • Guest
Re:wait between actions - command?
« Reply #3 on: 06 Jun 2004, 16:53:00 »
I always asked myself whats the countdown and timer options for in waypoints/triggers.
`What are they for?

Uba-Pi

Loup-Garou

  • Guest
Re:wait between actions - command?
« Reply #4 on: 06 Jun 2004, 19:01:16 »
For example, a trigger with a countdown of 3, 3, 3 means that this trigger will be activated in 3 seconds.
For waypoints : suppose you have a unit in patrol. When the unit will "come" to the end of a waypoint that have a countdown of 10, 10, 10, it means that the unit will wait 10 seconds before heading towards her next waypoint.

Hope you understand  :).

Uber-Pea

  • Guest
Re:wait between actions - command?
« Reply #5 on: 07 Jun 2004, 13:21:16 »
How to make waypoint loops (if possible)?? If I want a patrol or exercising squad that, when it lets say reach the fourth waypoint will go to the first one again and lets the cycle begin again, when it reaches the fourth again go to 1 aso...


ponq

  • Guest
Re:wait between actions - command?
« Reply #6 on: 07 Jun 2004, 13:40:06 »
make another waypoint close to the first waypoint of the group and use the type "cycle" (instead of eg "move").

Uber-Pea

  • Guest
Re:wait between actions - command?
« Reply #7 on: 07 Jun 2004, 13:48:31 »
uh din c cycle yet because in german it is translated witha completely different meaning. Thanks.