Jump to content
Sign in to follow this  
Tankbuster

triggers and waypoints help

Recommended Posts

Guys,

I need a little guidance. I've had a look through some of the tutorials and am printing the uber_editor_tutorial right now, but either I'm missing something or coming at it from the wrong angle. Maybe you chaps could point me in the right direction?

I want to have a western helicopter landing in a spot that triggers a small eastern patrol. The idea being the patrol should "stumble upon" the western force.

I have the trigger set up at the LZ and I have the patrol nicely incargo'd in a Ural and I have the waypoints to make the vehicle driving along the road towards the LZ, but I cannot seem to work out how to tie the two things together.

In other words, I want the patrol to not set off until the western heli has arrived.

Any help gratefully recieved.

Paul

Share this post


Link to post
Share on other sites

Synchronize. Press F5 or click the synchronize button and drag a line between whatever you are synchronizing.

In this case you'd sync the west present trigger and the patrol's first waypoint. It would then start moving from this waypoint to the next when the trigger activates.

Share this post


Link to post
Share on other sites

Ah.. I knew it was something about dragging a line between the two. It's been so long since I did any real mission editing stuff.

A quick follow up question if I may;

How can I make the patrol follow along it's path of waypoints until it sees the west guys or comes under fire at which point, dismount and fight?

Thanks in advance, (again) smile_o.gif

Paul

Share this post


Link to post
Share on other sites

Trigger 'west detected by any group member' (press F2 and group the trigger with the patrol, this changes some of the options you have for the trigger), covering the area where the contact is supposed to happen. Getting them out on the spot would be a command on the trigger's onActivation field but I'm not quite sure what would work best without actually trying it out. Maybe:

"unassignVehicle _x" forEach units EastPatrol

Followed by something to get them to attack the detected enemies, like:

EastPatrol move getpos (list detectiontriggername select 0); EastPatrol setcombatmode "RED"

Replace detectiontriggername with the trigger's name and name the patrol group by having this line on the patrol leader's init:

EastPatrol = group this

Share this post


Link to post
Share on other sites

OK many thanks. That gives me something to go at.

Paul

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  

×