Jump to content
Sign in to follow this  
Bahger

Command to end mission when group is present and helo has landed?

Recommended Posts

Hey guys, I have to admit defeat with the End Mission trigger I'm working on, which is placed after a helo picks up my squad to extract and takes off for base. This is because it is often difficult to load the squad into the helo before it takes off and the squad is slow because there are still threats present, so the helo takes off without the player, in some cases, or half the squad, very annoying.

What I want to do, therefore, is end the mission when the helo lands for the extraction so that I do not have to wait for the squad to jump in successfully before a successful mission conclusion. It's a bit of a disappointment but will be much more stable. For an End #1 trigger activated by Blufor, "This and Obj1" in the condition field, what do I add in the condition field so that the helo lands and there is a 20 second delay after it does so before the script triggers and the mission ends?

After this I'm all done with the mission so I really appreciate your help with this one last issue.

Share this post


Link to post
Share on other sites

Thanks, but the helo is about to take off again -- it has flown here to extract my squad -- so I cannot switch the engine off. What I want to do is trigger the end of the mission when it lands but delay by about 20 seconds between the condition being met and the end of the mission so that the player can start to load his troops.

Share this post


Link to post
Share on other sites

Hi Bahger,

Looks like you can end your mission like you wanted(back at base)

with couple off WP's and triggers.

first place a trigger on the LZ and in this trigger puth this in act.:air1=true

puth air1 also in the chopper's name!!, then the trigger have to be on: OPFOR not present! so this will make the chopper come to LZ when its clear off OPFOR. dont know if you need to puth Air1 also in con.field off the trigger

to make it work

you can of play with this method how you like it, with a trigger, radio or by unit or player. i have a example mission that shows all of it, gone try to give link,

For your mission to end like you want place trigger end#1 and nothing else

and Syncronize the trigger with the heli that comes to LZ, so it will end when chopper reach trigger, and you can puth the time in the trigger in the Min. and max.fields,that puts a timer on the trigger.

hope its some help and hope it works.

cya

Edited by Sgt.Spoetnik
typo

Share this post


Link to post
Share on other sites

Many thanks, Sgt.

There are never any opfor at the LZ it's too far from their paths (although they keep things interesting by taking shots at my guys from a distance, which is why I think they are reluctant to get on the bird [sigh...]).

The chopper will show up at the LZ the way I have it now, that's no problem.

I've worked around this now by having the End Mission trigger activate 90 sec after I call the chopper so that the player can experience the full approach and landing of the thing and even begin to load his guys if he wants. However, now the mission will end when it times out rather than rely on a successful embarkation to trigger the end condition en route.

The above trigger will work fine, but rather than use the time coundown from calling the bird I'd prefer to activate the trigger (plus countdown of 20 secs) after the helo lands. I do not know if this is possible, however.

Share this post


Link to post
Share on other sites

oh ok, my bad for misinterpreting your question. If the helo touches down to load your squad you could have the condition

player in Air1

however since you want a delay, you will need to use the sleep command in a script that you call before the mission end. this way the mission will finish 20 secs after you board the helo, regardless of whether or not the other squad members are on board.

http://community.bistudio.com/wiki/in_vehicle

http://community.bistudio.com/wiki/sleep

Share this post


Link to post
Share on other sites

Here's what I did, as suggested by W0lle, a great solution from a real ArmA editing kung fu master:

You again.

Place a trigger at the extraction area, group (not sync) it with the helicopter and set a timeout you prefer. By grouping the trigger with the helicopter the trigger gets only activated by that vehicle.

If you want to make sure the trigger is activated only once the helicopter landed you need to give the helicopter a name and write this in the condition line of the trigger:

Code:

this AND Obj1 AND position heli select 2 < 2

heli is the name of the helicopter and the trigger is now activated once the helicopter is inside the trigger, below 2 meters and variable Obj1 is set to true.

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  

×