Difference between revisions of "missionConfigFile"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (added category config)
Line 3: Line 3:
 
[[Category:Command_Group:_System_Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_System_Commands|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Mission_Information|{{uc:{{PAGENAME}}}}]]
 
[[Category:Command_Group:_Mission_Information|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Command Group: Config|{{uc:{{PAGENAME}}}}]]
  
 
{{Command|Comments=
 
{{Command|Comments=

Revision as of 14:02, 20 December 2019


Template:Command

Notes

Bottom Section

Posted on February 17, 2015 - 16:46 (UTC)
Killzone Kid
missionConfigFile can be used to parse mission.sqm file data as well if it is included into description.ext:
class MissionSQM
{
	#include "mission.sqm"
};

Then mission.sqm data can be accessed like this: getNumber (missionConfigFile >> "MissionSQM" >> "version"); //12 - version param in mission.sqm (courtesy of Master85)