BIS fnc overviewAuthor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
{{Function|= Comments
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 8: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| ''N/A'' |= Description
| Returns the mission author's name preceded by , e.g "by Username". See [[Description.ext#author|Description.ext/author]]. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_overviewAuthor]]; --> |= Syntax
| [config, control] call [[BIS_fnc_overviewAuthor]] |= Syntax
 
|p1= config: [[Config]] - (Optional, default [[configFile]]) where the function will look for '''author''' entry |= Parameter 1


|p1= |= Parameter 1
|p2= control: [[Control]] - (Optional, default [[controlNull]]) if provided, will be filled with author's name |= Parameter 2


| |= Return value
| [[String]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| |= See also
| [[Description.ext#author|Description.ext/author]], [[briefingName]] |= See also
 
}}
}}



Revision as of 16:13, 8 May 2018

Hover & click on the images for description

Description

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

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

Notes

Bottom Section