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

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.