missionVersion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "<!-- missionVersion --> {{Command|= Comments |arma3|= Game name |1.56|= Game version | Returns the version of the current mission. <br/><br/> Unsaved mission: -1<br/> Mission...")
 
m (Text replacement - "Category:Eden Editor" to "Eden Editor")
 
(27 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<!-- missionVersion -->
{{RV|type=command
{{Command|= Comments
 
|arma3|= Game name
|game1= arma3
|1.56|= Game version
|version1= 1.56
| Returns the version of the current mission.
 
<br/><br/>
|gr1= Mission Information
Unsaved mission: -1<br/>
 
Mission from the EDEN editor: 51<br/>
|descr= Returns the version of the current mission.
Mission from the 2D editor: 12
* Mission from the [[2D Editor]]: 12
|= Description
* Mission from the [[:Category:Eden Editor|Eden Editor]]: 15 and higher (for example current version for [[:Category:Eden Editor|Eden Editor]] mission in Arma 3 v1.57 is 51)
| '''missionVersion''' |= Syntax
 
|p1=  |= PARAMETER1
|s1= [[missionVersion]]
|p2=  |= PARAMETER2
| [[Number]]: SQM version |= RETURNVALUE
|x1= <code>_version = '''missionVersion''';</code>|= EXAMPLE1
|  |= SEEALSO
|  |= MPBEHAVIOUR
}}


<h3 style='display:none'>Bottom Section</h3>
|r1= [[Number]] - SQM version
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]


<h3 style='display:none'>Notes</h3>
|x1= <sqf>_version = missionVersion;</sqf>
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[Mission.sqm]] [[Description.ext]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Latest revision as of 13:26, 9 July 2023

Hover & click on the images for description

Description

Description:
Returns the version of the current mission.
Groups:
Mission Information

Syntax

Syntax:
missionVersion
Return Value:
Number - SQM version

Examples

Example 1:
_version = missionVersion;

Additional Information

See also:
Mission.sqm Description.ext

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note