BIS fnc singleMissionName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| tkoh |= Game name
|game2= arma3
|version2= 0.50


|1.00|= Game version
|gr1= Missions
____________________________________________________________________________________________


| <pre>/*
|descr= Returns name of currently selected single mission.


Description:
|s1= call [[BIS_fnc_singleMissionName]]
Returns name of currently selected single mission


Parameter(s):
|r1= [[String]] - the mission name
NOTHING


Returns:
|x1= <sqf>private _missionName = call BIS_fnc_singleMissionName;</sqf>
STRING
*/
 
#define DISPLAY (finddisplay 2)
#define CONTROL (DISPLAY displayctrl 101)
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_singleMissionName]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|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 22: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