ok, i can now create a c130 in the air with the following:
start
c130a = "C130" camcreate [(GetPos gl1) select 0,(GetPos gl1) select 1,100]
~1
"SoldierWPilot" createunit [getpos gl2, c130ag, "c130ap = this", 1, "CAPTAIN"]
~1
c130ap moveindriver c130a
exit
but, the pilot is not created and there is no pilot in the c130, so it just floats to the ground and crashes.