BIS fnc overviewAuthor: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns the mission author's name preceded by , e.g "by Username". See [[Description.ext#author|Description.ext/author]]. |= | | Returns the mission author's name preceded by , e.g "by Username". See [[Description.ext#author|Description.ext/author]]. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [config, control] call [[BIS_fnc_overviewAuthor]] |= | | [config, control] call [[BIS_fnc_overviewAuthor]] |SYNTAX= | ||
|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 |PARAMETER1= | ||
|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 |PARAMETER2= | ||
| [[String]] |= | | [[String]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[hint]] [[format]] ["%1, %2", [[briefingName]], [[call]] [[BIS_fnc_overviewAuthor]]];</code> |= | |x1= <code>[[hint]] [[format]] ["%1, %2", [[briefingName]], [[call]] [[BIS_fnc_overviewAuthor]]];</code> |EXAMPLE1= | ||
|x2= <code>[[hint]] [[format]] ["%1, %2", [[briefingName]], <nowiki>[</nowiki>[[missionConfigFile]]] [[call]] [[BIS_fnc_overviewAuthor]]];</code> |= | |x2= <code>[[hint]] [[format]] ["%1, %2", [[briefingName]], <nowiki>[</nowiki>[[missionConfigFile]]] [[call]] [[BIS_fnc_overviewAuthor]]];</code> |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Description.ext#author|Description.ext/author]], [[briefingName]] |= | | [[Description.ext#author|Description.ext/author]], [[briefingName]] |SEEALSO= | ||
}} | }} | ||
Revision as of 14:32, 7 April 2019
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