Jump to content
CheeseBlob

Problems with scripting

Recommended Posts

Hey so I've made a mission in the Arma 3 Eden editor and it is pretty simple. I got the tasks all down correctly and everything else however I have ran into problems with scripting. I wanted to have a debrief with a description, title and subtitle. I followed steps on the wiki, created a description.ext file in the mission folder and I used this script

 

class CfgDebriefing
{
    class End1
    {
        title = "Mission Completed";
        subtitle = "Great work";
        description = "FIA forces have been decimated and are on the retreat thanks to your actions! Great Work Sergeant";
        pictureBackground = "";
        picture = "b_inf";
    };
};

 

I also put the type on trigger used to activate the script as none and put this in the OnActv field to sequence a closing shot

 

"end1" call BIS_fnc_endMission;

 

I have no idea why this wont work for me, and its not just this time many times I have followed the instructions and read them carefully and it wont work.

 

Help would be appreciated thanks.

 

Spoiler

 

Share this post


Link to post
Share on other sites

I would make sure the trigger activation field is fired. Put there a hint "TEST"; for example to see if this is happening.

 

Share this post


Link to post
Share on other sites

Ok so it works however it dosen't use my settings i put in the script it says 

Title: "Mission Completed" 

 Subtitle: None

Description: Nothing

Picture: None


Its just the standard debrief screen.

  

Share this post


Link to post
Share on other sites
5 hours ago, jts_2009 said:

Maybe its case sensitive? try "End1" call BIS_fnc_endMission instead of "end1" call BIS_fnc_endMission

 

Also use better https://community.bistudio.com/wiki/BIS_fnc_endMissionServer

 

Execute it on server only like: if (isServer) then {this code}

CheeseBlob is trying a custom ending and not a default one, as you are saying he should check for case sensitive letters.

  • Confused 1

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

×