missionVersion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}")
m (Text replacement - "Category:Eden Editor" to "Eden Editor")
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- missionVersion -->
{{RV|type=command
{{Command|Comments=
|arma3|Game name=
|1.56|Game version=


|gr1= Mission Information |GROUP1=
|game1= arma3
|version1= 1.56


| Returns the version of the current mission.
|gr1= Mission Information
 
|descr= Returns the version of the current mission.
* Mission from the [[2D Editor]]: 12
* Mission from the [[2D Editor]]: 12
* Mission from the [[Eden Editor]]: 15 and higher (for example current version for [[Eden Editor]] mission in Arma 3 v1.57 is 51)
* 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)
|DESCRIPTION=
 
| '''missionVersion''' |SYNTAX=
|s1= [[missionVersion]]
|p1=  |PARAMETER1=
|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]]
{{GameCategory|arma3|New_Scripting_Commands_List}}
}}
[[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