OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: hellboy101 on 13 Aug 2006, 03:46:55

Title: Need Help ! plz ! Help
Post by: hellboy101 on 13 Aug 2006, 03:46:55
how can i make a 2nd waypoint activate 5mins after the 1st waypoint ?  :'(  ???

Like when i've done the 1st waypoint  then 5 mins later the 2nd waypoint activate's

Thanks to ever helps  ;D
Title: Re: Need Help ! plz ! Help
Post by: Javito on 13 Aug 2006, 04:17:37
Make a new waypoint and you'll see a countdown field. Enter 300 into each of the three countdown fields to the right of it (300 seconds = 5 minutes).
Title: Re: Need Help ! plz ! Help
Post by: THobson on 13 Aug 2006, 06:58:09
Bit puzzled by the question.   The solution proposed by Javito will cause the second waypint to be activated 5 minutes after the group arrives at the second waypoint.  If you really want to prevent the second waypoint from being actived until 5 minutes after the first waypoint has been activated then try:
First waypoint:
On Activation:  FirstWPDone = true

Create a trigger:
Condition: FirstWPDone
On Acivation:  SecondWPFree = true
Min, Max and Mid all = 300

Second waypoint
Condition:  SecondWPFree

But this is a bit convoluted.  Have you tried looking at using a Switch trigger?  Or delaying the activation of the first WP?
Title: Re: Need Help ! plz ! Help
Post by: hellboy101 on 13 Aug 2006, 15:51:46
thanks to both of you, your ideas both worked thanks for the help im new to OFP and dont know anything yet !  ;D

thanks alot !  ;D