First make 2 units.
The first one is a man, it can be all kind of man
Make his name: DUDE
And put in his init field:
this setBehaviour "SAFE"; [this, 1000]exec "HALOsettings.sqs"; this addAction ["Open Chute", "HALOchute.sqs"]
Ok, then make the 2nd unit.
Make it a chopper where you can board in cargo. So when you have a west soldier make a blackhawk, and when you have an east soldier make a mi17 or mi27 or whatever you likes
Make the name of the chopper: CHOPPER
Now put it somewhere else on the map (not at your HALO unit), and put him on "Flying" and in his init field typ:
this flyInHeight 100
Ok, you are ready in the editor now.
Save it, and get back to windows.
Then go to your users/yourname/missions map and open the map with the name you save the HALO map as.
Then make a new text document, open it, and then save as:
Make sure it`s on "All Files"
Then make his name: HALOsettings.sqs
And save it
Make another file at the same way and make his name: HALOchute.sqs
Again, make sure you have it on "All Files"
Ok, then open the HALOsettings.sqs
And put this in it:
; HALOscript
_unit = _this select 0
_height = this select 1
_unit setpos [GetPos _unit select 0, GetPos _unit select 1, _height]
exit
Ok, save and exit
Then open the HALOchute.sqs and put the following in it:
; HALOscript
DUDE SetBehaviour "AWARE"
CHOPPER SetPos GetPos DUDE
DUDE moveincargo CHOPPER
DUDE action ["EJECT", CHOPPER]
unassignvehicle DUDE
CHOPPER setpos [500, 500, 0]
DUDE RemoveAction 0
exit
Ok, save and exit, open OFP. and open you mission. Now you start in the air with your gun on your back if the script is correct
If you want your chute to open, just press the action: Open Chute
And there you go
If you want your player to start lower/higher, just change the 1000 in the init field of the unit...
Next time, look at the editors depot, because I posted the script from: Schism right here
, only it`s a little bit edited (sorry Schism
)