Hey TonyRanger, I had a look at this for you last night... I wrote a script that does pretty much what you want it to... It's not ideal as the part where the heli is put into 'flying' mode when created is a bit of a cheat, but it works in a way...
You need to give the script 8 things, sounds a lot but it's not really... Just makes it a bit more useful...
I added a patrol bit to the end of the script just give you ideas how it could be used.
Syntax to initialize the script is;
[createpos,"helitype","pilottype",startheight,enginestarttime,targetzone,xsize,ysize] exec "createheli.sqs" (use quotes as shown)
'createpos' - this is the name of the gamelogic/barrel/man/jeep etc where you want to create the heli
'helitype' - the type of heli you want to create (kamov = v80)
'pilottype' - type of unit you want to be the pilot (soldierepilot = soviet pilot)
'startheight' - the height above the ground you want the heli to be when it is created (any number)
'enginestarttime' - this is a delay in seconds to allow the rotors to get up to speed before it can move off (15 seconds seems to be the common time)
'targetzone' - the name of the gamelogic/barrel/man/jeep etc you want to the heli to use as the center of its patrol zone
'xsize' - how big the patrol zone is in the x axis
'ysize' - how big the patrol zone is in the y axis
If someone knows of a way of having rotors at full speed when a helo is created that would be useful to know... Anyone got any ideas..?
There's a demo mission and the script included in the . zip attached.
Hope this helps...