Jump to content
Sign in to follow this  
IceFire

How to put soldiers "in cargo"

Recommended Posts

Ok, I'm making a mission starting with a chopper(special: flying) flying to a waypoint to "unload" at a designated point.

I want to put a couple black ops in the chopper when the mission starts so the black ops will unload.

How do I do it?

Share this post


Link to post
Share on other sites
Guest

For a group in the leaders init box put

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

"_x moveinCargo chopper" forEach units this

<span id='postcolor'>

where "chopper" is the name of your helicopter.

If you wish to do it for individual units, just put in their init box:

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

this moveinCargo chopper

<span id='postcolor'>

Share this post


Link to post
Share on other sites

Ok, just tried it. Didn't work.

I wanted the men to already be IN the chopper when the mission started. Maybe your formula was for getting the men to board the chopper?

The chopper starts off over the water. And since I didn't know where to place the men, I just put them over the water assuming they would just start out in the chopper instead because of that thing you wanted me to type in.

Instead from afar I could hear them scream as they drowned, so that means they didn't start off in the chopper.

The team of Black Ops to be in the chopper were 4 men. In all 4 of them, I put their special as "In Cargo", just to make sure.

I named the chopper Chopper, so the only change I made to your formula was spelling "chopper" with a capital C.

Also a little message appeared in the top of the screen when I started the mission, it said "error" or something like that in regards to the formula.

Share this post


Link to post
Share on other sites

Ok nevermind. I just tried it again.

I typed it in wrong.

But it worked.

Thanks.

Share this post


Link to post
Share on other sites

Ok, some new question.

Here's what I need to figure out to do.

1) I am placing several Russian patrols in an area. What I want to happen is if ANY of the Russian units sees, and engages a western unit, surrounding( in about 100 yards around the area where western unit was sighted/engaged) Russian units will move in to help engage any Western units.

Is that possible?

And another unrelated question.

2) A singular western unit will be running in a direction. Other squads will be moving in a direction(or just standing static) that may cross paths with the first singular western unit.

If for example "squad A" encounters the singular unit, the squad A leader will "join and lead" the singular unit, and then they will all move to a specific location on the map called "Location A".

If the singular unit, and "squad A" do NOT encounter eachother, the singular unit will continue to move on to "Location A". and "squad A" will move to another location, and then continue on to "Location A".

There are OTHER squads around. If "squad B" encounters "singular western unit", the squad will take command of singular unit, and then proceed to "Location A" just as "squad A" would.

There will also be squad C and D. All the same thing.

If any squad does enounter and "joins and leads" singular unit. All other squads immediately change course or start moving on to "Location A".

If singular western unit makes it to "Location A" alone, all other squads will immediately start to move to "Location A" as soon as "singular western unit" gets to "Location A".

Is this possible?

What would I have to do?

So far I have a good basic knowledge of how to use waypoints, "move", "join and lead", etc.. And I know how to use triggers, and how to sync triggers to waypoints, how to sync waypoints.

But I am still new to creating my own missions.

If all that I said is possible, is there anything I should look up to learn how to do it(if it's all too complicated to explain here)

My guess is I would have to create multiple triggers, each one negating and/or activating other triggers.

But again, I don't even know if THAT is possible. I imagine that it might be.

Share this post


Link to post
Share on other sites

IceFire:

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

1)  I am placing several Russian patrols in an area.  What I want to happen is if ANY of the Russian units sees, and engages a western unit, surrounding( in about 100 yards around the area where western unit was sighted/engaged) Russian units will move in to help engage any Western units.

<span id='postcolor'>

I Bet there is an easyer way but this is what i done! I made a trigger in the area to repeat all the time, and trigger is set to "west" then when triggerd it execture a script. that orders my guarding soldiers to engage the enermy that trigger it!

The best way is build a 2nd trigger in the same area when NO West is present, all enermy soldiers return to their "base/area/location" you wan't them to stand!

About your 2nd question, i would not know i not tryed it, i would how ever guess you need a script to repeat it self then check if the units are close to each others eg 100meters then they join forces. And you also need to write in the script that if they already in the group/joinforced then it should not keep addeding it! confused.gif

Share this post


Link to post
Share on other sites
Guest

IceFire, don't double post. You have a thread already.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×