BIS fnc overviewAuthor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| tkoh |Game name=
| tkoh


|1.00|Game version=
|1.00


|gr1= GUI |GROUP1=
|gr1= GUI


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


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


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


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


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


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


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


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



Revision as of 23:36, 17 January 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

Bottom Section