From Bohemia Interactive Community
Hover & click on the images for description
Description
- Description:
- Show an AAN article.
- Execution:
- call
- Groups:
- GUIInteraction
Syntax
- Syntax:
- [arrayOfArrays, display, fade] call BIS_fnc_showAANArticle
- Parameters:
- arrayOfArrays: array of arrays; each subarray defines part of an article, can be:
- Article title: ["title", <text:string>]
- Article author and date: ["meta", [<author:string>, <date:array Y,M,D,H,M>, <timezoneName:string>]]
- Paragraph: ["text",<text:string>]
- Bold paragraph: ["textbold",<text:string>]
- Locked paragraph: ["textlocked",[<text:string>,<prompt:string>]] - Locked paragraph with subscriber prompt. There should be no paragraph after it.
- Image with description: ["image", [<path:string>, <description:string>, <source:string>]] - The image should have 2:1 ratio.
- Link to another "fake" article displayed on left: ["box",[<path:string>, <description:string>]] - The image should have 2:1 ratio.
- Author's bio: ["author",[<path:string>, <description:string>]] - The image should have 1:1 ratio.
- Draft notification: ["draft",[<text:string>, <color:arrayRGB>]] - Text and color are optional, default notification will be shown when they're undefined.
- display: Display - a display to make the AAN article a child of it
- fade: Boolean - (Optional, default false) true to fade from black
- Return Value:
- Display - the AAN article display
Examples
- Example 1:
-
Additional Information
- See also:
- BIS_fnc_AAN
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
- Freddo3000 - c
- Posted on Jun 12, 2021 - 23:42 (UTC)
-
Can be added to diary records using an <expression> tag, with a clickable link leading to the article.