BIS fnc AAN: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add seeAlso BIS_fnc_showAANArticle link) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Function that adds an AAN overlay to the screen, with one headline and a rolling text on the bottom. |= | | Function that adds an AAN overlay to the screen, with one headline and a rolling text on the bottom. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [parseText "Headline", parseText "Rolling Text"] spawn [[BIS_fnc_AAN]];|= | | [parseText "Headline", parseText "Rolling Text"] spawn [[BIS_fnc_AAN]];|SYNTAX= | ||
|p1= [[Structured Text]] - Structured text for the Headline and Rolling Text. |= | |p1= [[Structured Text]] - Structured text for the Headline and Rolling Text. |= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 21: | Line 21: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[parseText]], [[BIS_fnc_showAANArticle]] |= | | [[parseText]], [[BIS_fnc_showAANArticle]] |SEEALSO= | ||
}} | }} |
Revision as of 11:26, 7 April 2019
Description
- Description:
- Function that adds an AAN overlay to the screen, with one headline and a rolling text on the bottom.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [parseText "Headline", parseText "Rolling Text"] spawn BIS_fnc_AAN;
- Parameters:
- Structured Text - Structured text for the Headline and Rolling Text.
- Return Value:
- Nothing
Examples
- Example 1:
0 = [parseText "AAN live in Takistan", parseText "Weather coming up hot and steamy - Takistan shelled again from border area"] spawn BIS_fnc_AAN;
Additional Information
- See also:
- parseTextBIS_fnc_showAANArticle
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
Notes
Bottom Section
- Posted on September 28, 2014 - 19:42 (UTC)
- Tryteyker-
-
Maximum size (added with <t size='1'></t> parameters) for the headline is 2 if you want another, size 1 text under it. Size 2.5 to 3 seems to be the max size for the headline if you don't want it to disappear.
Rolling text size has to be 1 or else it disappears entirely. Time in the bottom right is ingame time (see setDate). Do note that this function cannot center on an object, and additional camera work is required to achieve such effects. It merely adds an overlay to the screen, and the player retains control even with the overlay active.
- Posted on August 5, 2015 - 22:38 (UTC)
- Jaffa
-
To remove the overlay you must close the display from the BIS_ANN UI Namespace variable.
i.e.
(uinamespace getvariable "BIS_AAN") closedisplay 1