Arma 3 Scripting

BIS_fnc_AAN

  • Runs with spawn
  • Arma 3 v0.50
  • First in Arma 2: Operation Arrowhead v1.50

Function · Markdown · JSON · original wiki page

Description

Add an AAN overlay to the screen, with one headline and a rolling text on the bottom.

Syntax

[headline, rollingText] spawn BIS_fnc_AAN

Parameters:

Returns: Nothing

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;

See also

parseText · BIS_fnc_showAANArticle

Community notes

Triteyker-

Maximum size (added with 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.