missionVersion: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style='display:none'>Notes</h3>" to "")
m (Text replacement - "Category:Eden Editor" to "Eden Editor")
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- missionVersion -->
{{RV|type=command
{{Command
 
|arma3
|game1= arma3
|1.56
|version1= 1.56


|gr1= Mission Information
|gr1= Mission Information


| Returns the version of the current mission.
|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)


| '''missionVersion'''
|s1= [[missionVersion]]
|p1=
|p2=
| [[Number]]: SQM version
|x1= <code>_version = '''missionVersion''';</code>
|
|
}}


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


<dl class="command_description">
|x1= <sqf>_version = missionVersion;</sqf>
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>


{{GameCategory|arma3|New Scripting Commands}}
|seealso= [[Mission.sqm]] [[Description.ext]]
{{GameCategory|arma3|Scripting Commands}}
}}

Latest revision as of 14: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