Jump to content
Sign in to follow this  
TechSgt Matt

Ending a mission script

Recommended Posts

Ok, im done creating and scripting my mission an' everything, but the prob is i don't know how to script the mission to end once you get to a certain point.

like lets say you take an airfield, how do you get the mission to end, is there a certain thing you have to put into the waypoint?

srry if this is in the wrong place, im still new to the forums and if it is just send me a message and delete it, thx:o

Share this post


Link to post
Share on other sites

Hi!

Normally, you make a mission end by using a trigger. If the player is to take an airfield a proper activation condition might be "OPFOR not present". Choose "END #1" as trigger type. Then the mission will end as soon as the last OPFOR unit is killed or has fled the trigger area. If you want, you could make a delay by putting the number "10" in the fields called min, mid and max in the trigger. That would give you a 10 second pause after the last OPFOR soldier is killed before the mission ends.

Another way to end the mission would be to place triggers with small areas at key locations at the airport. Activation would be "BLUFOR present". Then you make another trigger that activates END #1 once all the other trigger conditions have been met. That way the mission will end once BLUFOR units are present at all key locations.

You may also, of course, combine both: demand that all OPFOR soldiers be killed (or have fled the area) and that the BLUFOR soldiers be present at the locations you have defined as key points.

---------- Post added at 06:53 PM ---------- Previous post was at 06:47 PM ----------

I sense that you may be a bit new at this editing thing...

If you haven't allready, then I suggest you get your self a copy of Mr. Murray's Editing Guide. It is available as a free download from Armaholic.com. That's basically the textbook on editing for ArmA (and Arma 2). It will take your skills to a whole new level.

Edited by This kid

Share this post


Link to post
Share on other sites
Hi!

Normally, you make a mission end by using a trigger. If the player is to take an airfield a proper activation condition might be "OPFOR not present". Choose "END #1" as trigger type. Then the mission will end as soon as the last OPFOR unit is killed or has fled the trigger area. If you want, you could make a delay by putting the number "10" in the fields called min, mid and max in the trigger. That would give you a 10 second pause after the last OPFOR soldier is killed before the mission ends.

Another way to end the mission would be to place triggers with small areas at key locations at the airport. Activation would be "BLUFOR present". Then you make another trigger that activates END #1 once all the other trigger conditions have been met. That way the mission will end once BLUFOR units are present at all key locations.

You may also, of course, combine both: demand that all OPFOR soldiers be killed (or have fled the area) and that the BLUFOR soldiers be present at the locations you have defined as key points.

---------- Post added at 06:53 PM ---------- Previous post was at 06:47 PM ----------

I sense that you may be a bit new at this editing thing...

If you haven't allready, then I suggest you get your self a copy of Mr. Murray's Editing Guide. It is available as a free download from Armaholic.com. That's basically the textbook on editing for ArmA (and Arma 2). It will take your skills to a whole new level.

Is there away to announce or voice recording to know that you've killed everyone... so you know when to end the mission???

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  

×