OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: the corinthian on 19 Apr 2003, 17:01:02
-
Hi
Im trying to make a scene in a mission where a player drives a motorbike off a cliff and then parachutes down safely. I have tried using a radio trigger to run a script which moves a parachute to the players position and then moves the player into the parachute as the driver but it isnt working.
My first attempt focussed on a modified version of the Real_HALO drop script so I could use the Deploy Chute option on the use menu but again this didnt work.
Im really new to scripting so I could do with a couple of pointers on the following please...
(a) If the player is already in a vehicle when the script is called do I first have to eject/unassign him from that vehicle before reassigning him to the recently moved parachute?
(b) How would I activate a script via the use menu instead of using a radio trigger?
(c) to make a player use a parachute do I just have to move him as driver into it?
Thanks
-
Tell us more about the problem. What is going wrong?
(a) I would have thought so, yes. Can't do any harm.
(b) Learn about the command addAction. Check the Command references (official and unofficial) and search the forum.
(c) I think so, yes. Make a little test mission to check it.