Hey, this is my first post and I hope I'm in the right place and section. I'm hoping someone can help me here, this seems like it should be an easy task (but we are talking about Arma here). Here's my problem:

I'm messing with the Iron Front mod (playing MP, locally hosted) and trying to get the C47 Skytrain to paradrop my AI teammates. Ideally everyone in vehicle except player(s). I tried all sorts of scripts and forums for this, had no luck after probably 15 attempts. Best I can make happen is ejecting myself and everyone else stays onboard and crashes.
So I eventually gave up on this entirely and decided to attempt to modify my AI spawn script to spawn my AI teammates, who already spawn w parachutes just outside my moving aircraft. The problem is that my units are spawning in at ground level, rather than my current altitude. I am aware of setPosAsl and similar commands but seem to be having some trouble implementing them correctly. I am a complete novice here obviously, although i have been reading up a lot on this stuff lately. Here is the code that is spawning them on the ground, any help is very much appreciated. Thanks!