briefingName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "<code>_([a-zA-Z0-9_]+) = \[\[([a-zA-Z0-9]+)\]\];?<\/code>" to "<sqf>_$1 = $2;</sqf>")
 
(32 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3 |= Game name
|game1= arma3
|version1= 1.12


|1.12|= Game version
|gr1= Briefing
____________________________________________________________________________________________


| Returns the name of the current briefing. |= Description
|descr= Returns the name of the current briefing/scenario name.
____________________________________________________________________________________________


| '''briefingName''' |= Syntax
|s1= [[briefingName]]


| [[String]] |= RETURNVALUE
|r1= [[String]]


|x1= <sqf>_name = briefingName;</sqf>


|x1= <code>_name = [[briefingName]];</code>|= EXAMPLE1
|seealso= [[missionName]] [[worldName]] [[serverName]] [[worldSize]]
 
____________________________________________________________________________________________
 
|[[missionName]], [[worldName]], [[serverName]], [[worldSize]] |= SEEALSO
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<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:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Briefing|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on March 23, 2016 - 19:39 (UTC)</dd>
<dt class="note">[[User:Revo|Revo]]</dt>
<dd class="note">
briefingName actually returns the scenario name set in the editor, the name is probably misleading for new players. The missionName on the other hand returns the name of the pbo or the name of the folder the mission.sqm is in.
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 22:21, 7 May 2022

Hover & click on the images for description

Description

Description:
Returns the name of the current briefing/scenario name.
Groups:
Briefing

Syntax

Syntax:
briefingName
Return Value:
String

Examples

Example 1:
_name = briefingName;

Additional Information

See also:
missionName worldName serverName worldSize

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