BIS fnc overviewAuthor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>")
m (Text replacement - "= <code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-_]+)\]\]([^<]*)<\/code>" to "= <code>$1$2$3</code>")
Line 21: Line 21:
|x1= <sqf>hint format ["%1, %2", briefingName, call BIS_fnc_overviewAuthor];</sqf>
|x1= <sqf>hint format ["%1, %2", briefingName, call BIS_fnc_overviewAuthor];</sqf>


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


|seealso= {{HashLink|Description.ext#author}} [[briefingName]]
|seealso= {{HashLink|Description.ext#author}} [[briefingName]]
}}
}}

Revision as of 16:56, 13 July 2022

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