OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: N1390E on 21 Dec 2004, 01:17:14
-
Hello all I have a few questions and I know that this is to place to get answers.
First off:
I have made missions before and im not bad at it but when I make a helicopter extract point, lets say I trigger it with the radio, it seems like my player, the one with the GET IN waypoint has to move to exactly the spot where the GET IN waypoint is before the helicopter will come down. Is there anyway that I can make the helicopter come down and get me if im just in the general area of the GET IN waypoint.
Secondly and Lastly:
I want to make a mission where you are flying at a high altitude when you have an engine failure. Is there anyway to make the AI eject without me telling them, and without all jumping out at once and killing each other? There is actually a mission that comes with the game where your a helo pilot and you drop off soldiers and they jump out at intervals using a command called "Code Foxtrot" off of the action menu.
I hope you guys have some input
-
1. there are some scripts in the ed depot maby but i think if you just made a simple script, i cant make it for u but i can give u a step by step
script name "extract.sqs"
first
helo = this select 0
obj = this select 1
make helo move to player using domove getpos player
make helo land using helo land"LAND"
detect if player is in chopper and if he is make helo domove getpos obj make it an object u want the helo to take the player to.
make helo land again.
activation
make trigger radio alpha
put where it says text in trigger "Call for extraction"
in activation put [helo,obj] exec"extract.sqs"
name your helo "helo" and the object(use a GL) named obj
put object where u want to be taken after extraction. put helo anywhere.
nothing is garenteed in that. im only a lower intermediate scripter
2. just use a para chute script in the ed depot
-
u could depbo that mission and take there script but better ask first