Jump to content
Sign in to follow this  
kdk11

ending help

Recommended Posts

I have 2 triggers set up so that once independant or blufor enter it, it should trigger the end of the mission. I have multiple endings so I was write the two final endings below

First trigger for independant

type = end #4

activation = independant

detected by independant

condition = this

onAct = ["End4","BIS_fnc_endMission", independant] call BIS_fnc_MP; ["End3","BIS_fnc_endMission", blufor] call BIS_fnc_MP;

Second trigger for blufor

type = end #2

activation = blufor

detected by blufor

condition = this

onAct = ["End4","BIS_fnc_endMission", independant] call BIS_fnc_MP; ["End3","BIS_fnc_endMission", blufor] call BIS_fnc_MP;

For some reason they dont work for me. They dont become activate once entered.

Share this post


Link to post
Share on other sites

Don't set the TYPE, let BIS_fnc_endMission handle that.

Also make sure you declare what "End3" and "End4" are in your description.ext.

Share this post


Link to post
Share on other sites

ah ok. yeah i have it set up in the description. thanks matey.

Nope still not working.

Edited by KDK11

Share this post


Link to post
Share on other sites

Post your description.ext portion of the endings. Also maybe the Activation by blufor and detected by blufor may be the issue. Just get rid of the detected by.

Share this post


Link to post
Share on other sites

 class End2
       {
               title = "Mission Completed";
               subtitle = "You killed the target and escaped!.";
               description = "Congratulations men! You have just eliminated mankinds biggest threat, And avoided the potential for World War 3!";
               backgroundPicture = "";
               picture = "oppt2.paa";
               pictureColor[] = {};
       };
       class End3
       {
               title = "Mission Failed";
               subtitle = "You failed to kill Recep Tayyip Erdogan";
               description = "You have failed to kill Recep Tayyip Erdogan, He escaped along with roque team Bravo!";
               backgroundPicture = "";
               picture = "oppt2.paa";
               pictureColor[] = {};
       };
       class End4
       {
               title = "Mission Completed";
               subtitle = "You rescued the target and escaped.	";
               description = "Congratulations men! You have just rescued Recep Tayyip Erdogan.!";
               backgroundPicture = "";
               picture = "oppt2.paa";
               pictureColor[] = {};
       };
       class End5
       {
               title = "Mission Failed";
               subtitle = "You failed to rescue Recep Tayyip Erdogan";
               description = "You have failed to rescue Recep Tayyip Erdogan!";
               backgroundPicture = "";
               picture = "oppt2.paa";
               pictureColor[] = {};

That is it mate.

Share this post


Link to post
Share on other sites

https://community.bistudio.com/wiki/Debriefing

study that page well. your missing the CfgDebriefing

class CfgDebriefing
{  
class End2 
       { 
               title = "Mission Completed"; 
               subtitle = "You killed the target and escaped!."; 
               description = "Congratulations men! You have just eliminated mankinds biggest threat, And avoided the potential for World War 3!"; 
               backgroundPicture = ""; 
               picture = "oppt2.paa"; 
               pictureColor[] = {}; 
       }; 
       class End3 
       { 
               title = "Mission Failed"; 
               subtitle = "You failed to kill Recep Tayyip Erdogan"; 
               description = "You have failed to kill Recep Tayyip Erdogan, He escaped along with roque team Bravo!"; 
               backgroundPicture = ""; 
               picture = "oppt2.paa"; 
               pictureColor[] = {}; 
       }; 
       class End4 
       { 
               title = "Mission Completed"; 
               subtitle = "You rescued the target and escaped.    "; 
               description = "Congratulations men! You have just rescued Recep Tayyip Erdogan.!"; 
               backgroundPicture = ""; 
               picture = "oppt2.paa"; 
               pictureColor[] = {}; 
       }; 
};

Share this post


Link to post
Share on other sites

I have it. I have two more endings above these ones.

Share this post


Link to post
Share on other sites
["End1",true,true] call BIS_fnc_endMission;

that is all you should need in the onact line. You should not need the BIS_fnc_MP

Share this post


Link to post
Share on other sites

what does the true true do in that code?

Share this post


Link to post
Share on other sites

So how would I put this code in so that if blufor enter the ending independant gets a "mission failed" screen and blufor get "mission complete"? And vice versa for the other trigger

Share this post


Link to post
Share on other sites

Still havent figured this out if anyone knows a solution please help.

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  

×