Jump to content
Sign in to follow this  
horlixx

Odd Helio Problem - Only 2 men get out

Recommended Posts

Hi Folks,

Just signed up as i've been playing with this fors AGES and i'd appreciate some hlpe if possible. :)

I have a CIV Mi-17 helio that i load with OPFOR using:

this moveInCargo [enhelio2, 5];

changing the position of the men each time. (these guys are grouped)

I have the helio flying to waypoints and landing fine but then when it hits the deck only 2 men get out and i can see the other men sitting in the cargo???:confused:

Any one any ideas? I've searched everywhere on the forum and found lots of helio info but nothing that will solve my problem?

Thanks in advance!

Horlixx

Share this post


Link to post
Share on other sites
Hi Folks,

Just signed up as i've been playing with this fors AGES and i'd appreciate some hlpe if possible. :)

I have a CIV Mi-17 helio that i load with OPFOR using:

this moveInCargo [enhelio2, 5];

changing the position of the men each time. (these guys are grouped)

I have the helio flying to waypoints and landing fine but then when it hits the deck only 2 men get out and i can see the other men sitting in the cargo???:confused:

Any one any ideas? I've searched everywhere on the forum and found lots of helio info but nothing that will solve my problem?

Thanks in advance!

Horlixx

I was having a similar problem like this where only it would kick me out and all the AI stayed in the helicopter. W0llie answered it last night this is what he did.

Assign all the men to be grouped with one person

remove any int code they have and put this int code on the group leader

group1=group this; {_x moveInCargo helicopter} forEach units group this;

"group1" is that groups label, "helicopter" should be the name of the helicopter transport you are using to move them.

You also need this script file and a trigger. Put this script file in C:\Users\YourUserName\Documents\ArmA 2\missions\YourMission folder

http://www.mediafire.com/file/nqxwdwajtcw/unload.sqf

Trigger condition

!(leader group1 in helicopter);

Trigger on Activation

nul=[group1,helicopter] execVM "unload.sqf";

Set the axis to 0, 0

Hope this helps you. The script file does not need to be edited at all so its universal. If you want to do this with more transports all you need to do is assign new triggers, helicopter names, and group names. Its kinda complex but it works 100% of the time

Edited by Toasticuss

Share this post


Link to post
Share on other sites

legend! Thanks so much for the reply. Kinda tired now so gonna head off to bed!!!! Will try it tomorrow ( if OA doesnt arrive! :-) )

Share this post


Link to post
Share on other sites
legend! Thanks so much for the reply. Kinda tired now so gonna head off to bed!!!! Will try it tomorrow ( if OA doesnt arrive! :-) )

Your welcome ;)

Share this post


Link to post
Share on other sites

... again ... thanks so much for this. I've tested it out and it works flawlessly!

(now, we just have to sort out the pathfinding on the AI and i'll have a great mission, not one where the helio sometimes decides to nose dive into the floor instead of landing. hehe) ;)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×