Jump to content
Sign in to follow this  
Sharia

When enemy convoy is attacked, cargo disembarks

Recommended Posts

Hi there guys,

I'm making a mission with Suchey and Earl's USMC + Russian soldiers, and I have a russian convoy with a T72 tank, two URAL trucks and within those URAL trucks are two MORPEH squads. I want the trucks to stop and unload the morpeh guys when they're attacked in any way. Presumably "west detected by east", unfortunantly, I have no idea how to do this.

Help? I'll give you a cookie. Chocolate chip. You know you want the cookie. biggrin_o.gif

Share this post


Link to post
Share on other sites

Yes I also need this, but everyone dismounts and searches and destroys the threat apart from the crews from crew served vehicles for example T55, BMP, BTR, etc.

You guessed it. I want to set up an ambush.

Share this post


Link to post
Share on other sites

An example

Create an Ural  , name it TRUCK1

Create the squad/group you want in this Ural , put in the init line of the leader the following

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">TEAM1=group this; "_x moveincargo TRUCK1" foreach units TEAM1

This way the group will be named TEAM1 and will be moved in cargo of the Ural named TRUCK1

Make a far away MOVE waypoint for the Ural , create a trigger at the area you want it to stop , the size of the trigger according to the detection you want (a big is the best choice i think)

In the Trigger , at ACTIVATION select West , then click on Detected by EAST group

At the line On Activation , put the following

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">TRUCK1 setfuel 0; TEAM1 setbehaviour "COMBAT"; TEAM1 LeaveVehicle TRUCK1

It will force the truck to stop (as he has no fuel anymore) , the squad will disembark in Combat Mode (so they should seek targets).

To test , just put a WEST soldier in the area of the trigger detection , put yourself in command , and make sure that you are detected by the Truck smile_o.gif

Adapt this to your mission situation and it should do the trick

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  

×