User Tools

Site Tools


arma3:missions:campaign-missions

This is an old revision of the document!


Campaign Missions

mission\description.ext new features for ArmA 3:

author = "Snake Man, PMC."; // Author
onLoadName = "PMC 2 Mission";
onLoadMission = "Prepare to defend yourselves!"; // Description
 
class CfgDebriefing
{
	class End1
	{
		title = "End1 Activated";
		subtitle = "";
		description = "Yeah end1 rulez";
		backgroundPicture = "";
		picture = "b_inf";
		pictureColor[] = {0.0,0.3,0.6,1};
	};
 
	class pmc1
	{
		title = "PMC 1 Activated";
		subtitle = "";
		description = "Yeah pmc1 rulez";
		backgroundPicture = "";
		picture = "b_inf";
		pictureColor[] = {0.0,0.3,0.6,1};
	};
};

Then any script or trigger during mission to end it:

[ "end1", true, 2 ] call BIS_fnc_endMission;

Or

[ "pmc1", true, 2 ] call BIS_fnc_endMission;

Its very cool now that we can define our own mission ending setups and are not limited to the existing 7 mission ending triggers available.

arma3/missions/campaign-missions.1513405024.txt.gz · Last modified: 2017-12-16 06:17 by snakeman