BIS fnc overviewAuthor: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| tkoh |Game name= | | tkoh |Game name= | ||
Line 7: | Line 6: | ||
|gr1= GUI |GROUP1= | |gr1= GUI |GROUP1= | ||
| 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]]. |DESCRIPTION= | ||
| [config, control] call [[BIS_fnc_overviewAuthor]] |SYNTAX= | | [config, control] call [[BIS_fnc_overviewAuthor]] |SYNTAX= | ||
Line 19: | Line 16: | ||
| [[String]] |RETURNVALUE= | | [[String]] |RETURNVALUE= | ||
|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> |EXAMPLE1= | ||
|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> |EXAMPLE2= | ||
| [[Description.ext#author|Description.ext/author]], [[briefingName]] |SEEALSO= | | [[Description.ext#author|Description.ext/author]], [[briefingName]] |SEEALSO= |
Revision as of 23:43, 16 January 2021
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