OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: freaky on 24 May 2003, 06:38:00

Title: PARACHUTE IN MENU
Post by: freaky on 24 May 2003, 06:38:00
1. I am trying to find out how to set a height of a unit( copter and man) i think its setpos i dont know how to do it or use that.
2. I want give each unit the ability to chose when to deploy parachutes in the menu(scrolling one)
if its a script  tell me how to exec it

Please give details if u can. I am fairly new to all this.
Thanks guys
Title: Re:PARACHUTE IN MENU
Post by: macguba on 24 May 2003, 09:53:12
toadlife's HALO script in the Ed Depot might be the thing you're looking for.

The best way to make a chopper fly at a certain height is to use the command flyinheight.     Or, if you want to setpos it to a certain height at a certain place put a gamelogic on the ground at that place and use the command line

chopper1 setpos [getpos gamelogic1 select 0, getpos gamelogic1 select 1, (getpos gamelogic1 select 2) + h]

where h is the height you want in metres.  Syntax not guaranteed.