User Tools

Site Tools


arma3:missions:campaign-missions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
arma3:missions:campaign-missions [2017/12/16 06:17] – created initial page. snakemanarma3:missions:campaign-missions [2024/08/02 15:25] (current) – links added. snakeman
Line 1: Line 1:
-====== Campaign Missions ======+====== ArmA 3 Campaign Missions ====== 
 + 
 +[[https://www.pmctactical.org/forum/viewforum.php?f=68|ArmA 3 Forum]], [[:arma3|ArmA 3]], [[arma3:config|ArmA 3 Config]], [[arma3:missions|ArmA 3 Missions]], [[arma3:modeling|ArmA 3 3D Modeling]], [[arma3:scripting|ArmA 3 Scripting]], [[arma3:terrain|ArmA 3 Terrain]], [[arma3:texturing|ArmA 3 Texturing]], [[arma3:tools|ArmA 3 Tools]]
  
 mission\description.ext new features for ArmA 3: mission\description.ext new features for ArmA 3:
Line 9: Line 11:
 class CfgDebriefing class CfgDebriefing
 { {
- class End1+ class PMC_end1
  {  {
- title = "End1 Activated";+ title = "End 1 Activated";
  subtitle = "";  subtitle = "";
- description = "Yeah end1 rulez";+ description = "Yeah end 1 rulez";
  backgroundPicture = "";  backgroundPicture = "";
  picture = "b_inf";  picture = "b_inf";
Line 19: Line 21:
  };  };
  
- class pmc1+ class PMC_mission_successful
  {  {
- title = "PMC 1 Activated";+ title = "PMC_mission_successful Activated";
  subtitle = "";  subtitle = "";
- description = "Yeah pmc1 rulez";+ description = "Yeah PMC_mission_successful rulez";
  backgroundPicture = "";  backgroundPicture = "";
  picture = "b_inf";  picture = "b_inf";
Line 33: Line 35:
 Then any script or trigger during mission to end it: Then any script or trigger during mission to end it:
 <code cpp> <code cpp>
-[ "end1", true, 2 ] call BIS_fnc_endMission;+[ "PMC_end1", true, 2 ] call BIS_fnc_endMission;
 </code> </code>
  
 Or Or
 <code cpp> <code cpp>
-[ "pmc1", true, 2 ] call BIS_fnc_endMission;+[ "PMC_mission_successful", true, 2 ] call BIS_fnc_endMission; 
 +</code> 
 + 
 +Or simply just: 
 +<code cpp> 
 +"PMC_mission_successful" call BIS_fnc_endMission;
 </code> </code>
  
 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. 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