Jump to content
Sign in to follow this  
Acid

Paradropping Infantry

Recommended Posts

On my newest mission im making where you are a russian force trying to capture the airport, i have added the feature that a squadron of infantry will be paradropped into the airport when you attack them. I dont seem to have any particular problems with the script itself i just have one small question. the chopper that will be droppin the infantry is a chinook, and i have three groups of infantry that will be dropped (literally the standard infantry group available from the group tool), anway seen as how those groups are small i have made it so that there will be three of these groups dropped from the same chopper. all im wondering is in the sqs file, on the line:

_aunits = units l1

do i have the line as:

_aunits = units l1; l2; l3

so that it will drop all three groups of infantry, or do i repeat the entire script three times in the same sqs files, or create three sepearte sqs files, and have the execute command for each of them in the same on activation field of the choppers waypoint?

NOTE: for the above code i had set the names of the group leaders to:

l1, l2, and l3

and the groups were named:

grp, grp2, and grp3

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">...all im wondering is in the sqs file, on the line:

_aunits = units l1

do i have the line as:

_aunits = units l1; l2; l3

so that it will drop all three groups of infantry, ...<span id='postcolor'>

If I have understood you correctly, L1, L2 and L3 represent the leaders of each group, not the groups themselves...

If that's the case then...

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

_aunits = units group l1 + units group l2 + units group l3

<span id='postcolor'>

...will fill your array _aunits with all of your infantry from all three groups. If they do represent actual groups, then remove the three instances of "group" from my suggestion.

Share this post


Link to post
Share on other sites

yes L1, L2 and L3 are the names of the groups leaders

grp1, grp2, and grp3 are the names of the actual groups

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  

×