PMC websites shut down September 13th 2025 unless yearly web hosting fees are paid. Please Support PMC to help keep these websites online.

Enjoyed or found this pages content useful, please Support PMC to help me keep this web page online beyond september 13th 2025 when yearly web hosting fees are due.

User Tools

Site Tools


arma3:missions:campaign-missions

ArmA 3 Campaign Missions

ArmA 3 Forum, ArmA 3, ArmA 3 Config, ArmA 3 Missions, ArmA 3 3D Modeling, ArmA 3 Scripting, ArmA 3 Terrain, ArmA 3 Texturing, ArmA 3 Tools

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 PMC_end1
	{
		title = "End 1 Activated";
		subtitle = "";
		description = "Yeah end 1 rulez";
		backgroundPicture = "";
		picture = "b_inf";
		pictureColor[] = {0.0,0.3,0.6,1};
	};
 
	class PMC_mission_successful
	{
		title = "PMC_mission_successful Activated";
		subtitle = "";
		description = "Yeah PMC_mission_successful rulez";
		backgroundPicture = "";
		picture = "b_inf";
		pictureColor[] = {0.0,0.3,0.6,1};
	};
};

Then any script or trigger during mission to end it:

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

Or

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

Or simply just:

"PMC_mission_successful" 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.txt · Last modified: 2024/08/02 15:25 by snakeman