Jump to content
Sign in to follow this  
dar

"Mission complete" like in the showcases - how to?

Recommended Posts

Hey comunity,

has anybody already figured out how to add that awesome "MISSION COMPLETE" with interference effects and all, like it is used in the BI showcases, to a custom mission?

I unpacked and checked the showcase missions but I cant find a hint to that at all.

Any idea?

Share this post


Link to post
Share on other sites

Have a look at the function BIS_fnc_endMission. You can find it in the Functions Viewer in the Editor, under the Misc category.

For example: to make a mission end with "END1" and show this effect, this code needs to be called:

"END1" call BIS_fnc_endMission;

Hope that helps! :)

Share this post


Link to post
Share on other sites

Thanks a lot, Zipper.

Works as intended. Just created a trigger and put that code in the init line -> awesome effect when triggered. Very useful.

Share this post


Link to post
Share on other sites

Is this different then creating a trigger and using and of the "End" as the type for a victory condition?

Share this post


Link to post
Share on other sites

Zipper5, do you know if in Arma 3 when you use that function it ends the mission properly and with the correct debriefing for all clients and the server? Because I know that was a problem in Arma 2. I used Fer's F2 Multiplayer Ending Controller (http://ferstaberinde.com/f3/en//index.php?title=Multiplayer_Ending_Controller) to get around it.

Share this post


Link to post
Share on other sites

Works like a charm! Thanks Zipper :)

How would you change the it from mission accomplished to mission failed etc.?

Edited by L.T

Share this post


Link to post
Share on other sites

How would you change the it from mission accomplished to mission failed etc.?

["end2", false] call BIS_fnc_endMission;

The 'false' is what tells the function to end with fail.

Share this post


Link to post
Share on other sites
["end2", false] call BIS_fnc_endMission;

The 'false' is what tells the function to end with fail.

Awesome! Thanks a lot =D

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  

×