BIS fnc AAN: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Undo revision 237040 by R3vo (talk))
Tag: Undo
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 24: Line 24:
|exec= spawn
|exec= spawn


| [[parseText]], [[BIS_fnc_showAANArticle]]
|seealso= [[parseText]], [[BIS_fnc_showAANArticle]]
}}
}}



Revision as of 00:21, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
spawn
Groups:
GUI

Syntax

Syntax:
Syntax needed
Parameters:
headline: Structured Text - main title, shown in bigger size
rollingText: Structured Text - bottom text under headline scrolling right to left
Return Value:
Return value needed

Examples

Example 1:
[ parseText "<t size='2'>AAN live in Takistan</t>", 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
Posted on September 28, 2014 - 19:42 (UTC)
Tryteyker-
Maximum size (added with <t size='x'></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_AAN UI Namespace variable. i.e. (uiNamespace getVariable "BIS_AAN") closeDisplay 1