---
name: "BIS_fnc_AAN"
type: function
status: ok
groups: ["GUI"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_AAN
revid: 328448
updated: 2022-07-13T16:04:00Z
---

# BIS_fnc_AAN

*Function · GUI · Arma 3 v0.50 · introduced in Arma 2: Operation Arrowhead v1.50*

Locality: executed with **spawn**

## Description

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

## Syntax

```sqf
[headline, rollingText] spawn BIS_fnc_AAN
```

**Parameters:**

- `headline`: [Structured Text](../topics/Structured_Text.md) - main title, shown in bigger size
- `rollingText`: [Structured Text](../topics/Structured_Text.md) - bottom text under *headline* scrolling right to left

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
[
    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](../commands/parseText.md) · [BIS_fnc_showAANArticle](../functions/BIS_fnc_showAANArticle.md)

## Community notes

**Triteyker-** — 2014-09-28

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](../commands/setDate.md)). 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.

---

**Jaffa** — 2015-08-05

To remove the overlay you must close the display from the BIS_AAN UI Namespace variable.
i.e. 

```sqf
(uiNamespace getVariable "BIS_AAN") closeDisplay 1;
```

<sub>Source: [BI Community Wiki — BIS fnc AAN](https://community.bistudio.com/wiki/BIS_fnc_AAN) (revision 328448).</sub>
