OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: mrsert on 19 Jul 2006, 03:31:01

Title: Two simple questions...
Post by: mrsert on 19 Jul 2006, 03:31:01
I have a trigger set to add fuel to a convoy. So they can carry our their mission.  However I want the tigger to activate about 15 minutes into the game.  So the convoy doesn't take off right away. How do I do that?

Second, I have a group jumping from a plane. Once they have jumped I want the plane to disapper, or be removed from the mission. How do I go about doing that?

Thanks in advance...

Mr. Sert
Title: Re: Two simple questions...
Post by: bedges on 19 Jul 2006, 09:09:40
first, one question per post unless they're closely linked.

on the triggers dialog box you have two bits called timeout and countdown. put 900 in all three boxes and the trigger will fire 900 seconds (15 minutes) later.

give the plane a name, then after they jump use

Code: [Select]
deletevehicle plane_name
Title: Re: Two simple questions...
Post by: Seven on 19 Jul 2006, 16:41:03
I wouldn't make the plane disapear just after all are ejected. Instead I'd wait for the plane to be away for 20 seconds so it looks a littlebit more reallistic.
Well that just an oppinion  ;D
Title: Re: Two simple questions...
Post by: The-Architect on 19 Jul 2006, 16:56:41
I'd make a script for the countdown. Dunno if it effects everyone but I've had bad experiences with long coundowns started from the dialogue box. Basically countdowns not working.
Title: Re: Two simple questions...
Post by: Martin Kuka on 10 Aug 2006, 18:53:52
Let it fly away and on place where you cant see it anymore, place a trigger and group it with that plane.
On activation, Deletevehicle plane_name. I use this for a long time and had no problem with it.