BIS fnc overviewAuthor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "{{HashLink" to "{{Link")
 
(31 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 the mission author's name preceded by , e.g "by Username". See [[Description.ext#author|Description.ext/author]]. |DESCRIPTION=
|gr1= GUI
____________________________________________________________________________________________


| [config, control] call [[BIS_fnc_overviewAuthor]] |SYNTAX=
|descr= Returns the mission author's name preceded by "by", e.g "by Username". See {{Link|Description.ext#author}}.


|p1= config: [[Config]] - (Optional, default [[configFile]]) where the function will look for '''author''' entry |PARAMETER1=
|s1= [config, control] call [[BIS_fnc_overviewAuthor]]


|p2= control: [[Control]] - (Optional, default [[controlNull]]) if provided, will be filled with author's name |PARAMETER2=
|p1= config: [[Config]] - (Optional, default [[configFile]]) where the function will look for '''author''' entry


| [[String]] |RETURNVALUE=
|p2= control: [[Control]] - (Optional, default [[controlNull]]) if provided, will be filled with author's name
____________________________________________________________________________________________


|x1= <code>[[hint]] [[format]] ["%1, %2", [[briefingName]], [[call]] [[BIS_fnc_overviewAuthor]]];</code> |EXAMPLE1=
|r1= [[String]]


|x2= <code>[[hint]] [[format]] ["%1, %2", [[briefingName]], <nowiki>[</nowiki>[[missionConfigFile]]] [[call]] [[BIS_fnc_overviewAuthor]]];</code> |EXAMPLE2=
|x1= <sqf>hint format ["%1, %2", briefingName, call BIS_fnc_overviewAuthor];</sqf>
____________________________________________________________________________________________


| [[Description.ext#author|Description.ext/author]], [[briefingName]] |SEEALSO=
|x2= <sqf>hint format ["%1, %2", briefingName, [missionConfigFile] call BIS_fnc_overviewAuthor];</sqf>
 
|seealso= {{Link|Description.ext#author}} [[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: GUI|{{uc:overviewAuthor}}]]
[[Category:Functions|{{uc:overviewAuthor}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:overviewAuthor}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:overviewAuthor}}]]

Latest revision as of 18:43, 4 January 2023

Hover & click on the images for description

Description

Description:
Returns the mission author's name preceded by "by", e.g "by Username". See Description.ext - author.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[config, control] call BIS_fnc_overviewAuthor
Parameters:
config: Config - (Optional, default configFile) where the function will look for author entry
control: Control - (Optional, default controlNull) if provided, will be filled with author's name
Return Value:
String

Examples

Example 1:
hint format ["%1, %2", briefingName, call BIS_fnc_overviewAuthor];
Example 2:
hint format ["%1, %2", briefingName, [missionConfigFile] call BIS_fnc_overviewAuthor];

Additional Information

See also:
Description.ext - author 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