BIS fnc overviewAuthor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Undo revision 238109 by R3vo (talk))
Tag: Undo
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| tkoh
|game1= tkoh
|version1= 1.00


|1.00
|game2= arma3
|version2= 0.50


|gr1= GUI
|gr1= GUI


| Returns the mission author's name preceded by "by", e.g "by Username". See [[Description.ext#author|Description.ext/author]].
|descr= Returns the mission author's name preceded by "by", e.g "by Username". See {{HashLink|Description.ext#author}}.


| [config, control] call [[BIS_fnc_overviewAuthor]]
|s1= [config, control] call [[BIS_fnc_overviewAuthor]]


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


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


|x1= <code>[[hint]] [[format]] ["%1, %2", [[briefingName]], [[call]] [[BIS_fnc_overviewAuthor]]];</code>
|x1= <code>[[hint]] [[format]] ["%1, %2", [[briefingName]], [[call]] [[BIS_fnc_overviewAuthor]]];</code>
Line 21: Line 23:
|x2= <code>[[hint]] [[format]] ["%1, %2", [[briefingName]], [<nowiki/>[[missionConfigFile]]] [[call]] [[BIS_fnc_overviewAuthor]]];</code>
|x2= <code>[[hint]] [[format]] ["%1, %2", [[briefingName]], [<nowiki/>[[missionConfigFile]]] [[call]] [[BIS_fnc_overviewAuthor]]];</code>


| [[Description.ext#author|Description.ext/author]], [[briefingName]]
|seealso= {{HashLink|Description.ext#author}}, [[briefingName]]
}}
}}
[[Category:{{Name|tkoh}}: Functions|{{uc:overviewAuthor}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:overviewAuthor}}]]

Revision as of 21:44, 9 June 2021

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 - authorbriefingName

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