Jump to content
Sign in to follow this  
eegore

c130 paradrop Cycle

Recommended Posts

Ok so I am having trouble getting a paradrop cycle to work as atmosphere in a mission.

I have a group loaded into some C-160's (named C1,C2 etc):

grp1 = group this; {_x moveInCargo C1} forEach units group this; Note that the group leader is named "grp1" also.

Then run an eject script via trigger:

_xhandle=[grp1,C1] execVM "jump.sqf";

Now as the planes loop around I want them to trip a trigger that re-inserts the groups back in the cargo and drops them again but I cant get one trigger to reload all planes:

{_x moveInCargo C1} forEach units grp1; grp1 assignAsCargo C1; {_x moveInCargo C2} forEach units grp2; grp2 assignAsCargo C2; {_x moveInCargo C3} forEach units grp3; grp3 assignAsCargo C3; hint "LoadIn";

I don't know why the same command that loaded them the first time wont work again.

Any ideas?

Share this post


Link to post
Share on other sites

Ok I'm still working on this and I just can't get a trigger to re-assign a group into its original transport.

I'd like to make a template out of it since this could apply to any vehicle carrying infantry without needing to create more units.

The following works if I use it as a radio trigger, and only if I do one group but I don't know why I can't add in multiple groups for multiple vehicles.

{_x moveInCargo C1} forEach units grp1

Edited by eegore

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  

×