OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Commando on 03 Apr 2003, 11:16:54

Title: make a plane take off after 20 minutes?
Post by: Commando on 03 Apr 2003, 11:16:54
Im making a coop mission where 3 agents have to flee from a island. And their objective is to reach the plane that is civilian controlled get in cargo and get off the island. But i don't got a clue how to make the plane start off after a certain time..if I don't get help i think I must have a pilot that will have to start far off and walk or whatever to the airport and then get inside the plane :P problems will be to make himtake off properly to because im using a big civi plane addon like 747 or something :P
but any help would be apreaciated and I will most likely post the mission on ofpec when its done :)
Title: Re:make a plane take off after 20 minutes?
Post by: Black_Feather on 04 Apr 2003, 00:29:12
use

this setfuel 0

in the planes init field, and make a trigger and put

true

in its condition field, and with this in each of the countdown fields

1200

and on its on activation field put

planename setfuel 1

and it should take off, will probably work in mp but I've never made a mission so I'm not certain  :)

Title: Re:make a plane take off after 20 minutes?
Post by: Commando on 04 Apr 2003, 01:26:51
thx black feather! :D I have to try it on friday when i get home.
No im to tired to stay up.. :P