BIS_fnc_showAANArticle
Jump to navigation
Jump to search
Description
- Description:
/* Description: Show AAN article Parameter(s): 0: ARRAY of ARRAYS - each subarray defines part of an article, can be: ["title", <text:string>] Article title Article author and date ["text",<text:string>] Paragraph ["textbold",<text:string>] Bold paragraph ["textlocked",[<text:string>,<prompt:string>]] Locked paragraph with subscriber prompt. There should be no paragraph after it. ["image",[<path:string>, <description:string>, <source:string>]] Image with description. The image should have 2:1 ratio. ["box",[<path:string>, <description:string>]] Link to another "fake" article displayed on left. The image should have 2:1 ratio. ["author",[<path:string>, <description:string>]] Author's bio. The iage should have 1:1 ratio. ["draft",[<text:string>, <color:arrayRGB>]] Draft notification. Text and color are optional, default notification will be shown when they're undefined. 1: DISPLAY - parent display 2: BOOL - true to fade from black (default: false) Returns: DISPLAY */
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
[ [ ["title","My Title"], ["meta",["Katherine Bishop",[2035,2,24,11,38],"CET"]], ["textbold","This is a bold text"], ["image",["\a3\Missions_F_Orange\Data\Img\orange_overview_ca.paa","Some image description"]], ["box",["\a3\Missions_F_Orange\Data\Img\Faction_IDAP_overview_CA.paa","You won't believe how playing Showcase Laws of War can change your life!"]], ["text","Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi tincidunt pretium ultricies. Etiam ac ornare est, quis posuere nisl. Mauris facilisis lectus eu turpis maximus consequat. Donec ut metus nec risus tristique mattis. Ut posuere rutrum tellus, ut molestie orci mattis id. Cras ultrices euismod diam, in venenatis nunc commodo eget. Interdum et malesuada fames ac ante ipsum primis in faucibus. Morbi congue dolor rutrum lectus euismod, ac faucibus magna molestie. Aliquam in libero sit amet eros sagittis tristique. Nam pellentesque dignissim aliquam."], ["textlocked",["Sed non est risus. Nulla condimentum at leo sed bibendum. Phasellus laoreet sit amet leo tincidunt consequat. Curabitur nec hendrerit purus. Nam massa nisi, mattis in aliquet consectetur, ornare eget nibh. Nunc dignissim, nibh sit amet ultrices tincidunt, mi nulla fermentum quam, non condimentum dolor eros vulputate massa.","SUBSCRIBE PLZ"]], ["author",["\a3\Missions_F_Orange\Data\Img\avatar_journalist_ca.paa","Katherine Bishop is a journalist"]] ] ] call bis_fnc_showAANArticle;
Result:
Additional Information
- See also:
- See also needed
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