Home   Help Search Login Register  

Author Topic: Timeout and countdown ...  (Read 436 times)

0 Members and 1 Guest are viewing this topic.

Pipski

  • Guest
Timeout and countdown ...
« on: 05 Dec 2003, 15:18:55 »
Oh, while I'm here - try as I might I can't seem to get Timeout or Countdown to work for triggers.  I've worked around most of them whenever it's been a problem but I'm stuck with radio triggers.  e.g. I have a trigger on my map, when a certain objective has been achieved airsupremacy=true and the player can make use of a radio message to bring in CAS.  However it's a bit unrealistic for the confirmation message to come back immediately but, even with Timeout set to, say, five-ten seconds and the reply in the On Deactivation field ("Roger, Blackhawk 1 inbound") the radio message still appears at the bottom of the screen immediately.  Is there something very simple that I'm missing?  Is there a better way of putting in a time delay than using Timeout or Countdown?

deaddog

  • Guest
Re:Timeout and countdown ...
« Reply #1 on: 05 Dec 2003, 15:21:37 »
Exectute a script from the activation field, instead.  Put the time delay in the script:

~10

for a ten second delay.  

Pipski

  • Guest
Re:Timeout and countdown ...
« Reply #2 on: 05 Dec 2003, 15:33:44 »
lol, cheers, I knew it would be something simple.  How come none of the zillions of tutorials I've ploughed through thought to mention that?  Tx fella.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Timeout and countdown ...
« Reply #3 on: 05 Dec 2003, 16:01:26 »
Deactivation field is for triggers set to repeatedly.   The code theres is executed when the trigger condition ceases to be met.

The best way to do a short converstation with time delays is probably to use a gamelogic with waypoints, putting the lines of script and the delays in the WPs.   If you want to use triggerse you need a trigger for each line, which is why script or GL is better.

Tutorials don't mention ~ for a delay because it's in the command reference under scripting topics - script syntax.
« Last Edit: 05 Dec 2003, 16:02:54 by macguba »
Plenty of reviewed ArmA missions for you to play