BIS fnc singleMissionName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|= Comments
{{RV|type=function
____________________________________________________________________________________________


| tkoh |= Game name
|game1= tkoh
|version1= 1.00


|1.00|= Game version
|game2= arma3
____________________________________________________________________________________________
|version2= 0.50


| Returns name of currently selected single mission. |DESCRIPTION=
|gr1= Missions
____________________________________________________________________________________________


| call [[BIS_fnc_singleMissionName]] |SYNTAX=
|descr= Returns name of currently selected single mission.


| [[String]] - the mission name |RETURNVALUE=
|s1= call [[BIS_fnc_singleMissionName]]
____________________________________________________________________________________________


|x1= <code>_missionName = [[call]] [[BIS_fnc_singleMissionName]];</code> |EXAMPLE1=
|r1= [[String]] - the mission name
____________________________________________________________________________________________


| [[missionName]], [[briefingName]] |SEEALSO=
|x1= <sqf>private _missionName = call BIS_fnc_singleMissionName;</sqf>
 
|seealso= [[missionName]] [[briefingName]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Missions|{{uc:singleMissionName}}]]
[[Category:Functions|{{uc:singleMissionName}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:singleMissionName}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:singleMissionName}}]]

Latest revision as of 23:45, 12 July 2022

Hover & click on the images for description

Description

Description:
Returns name of currently selected single mission.
Execution:
call
Groups:
Missions

Syntax

Syntax:
call BIS_fnc_singleMissionName
Return Value:
String - the mission name

Examples

Example 1:
private _missionName = call BIS_fnc_singleMissionName;

Additional Information

See also:
missionName briefingName

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