---
name: "BIS_fnc_typeText2"
type: function
status: ok
groups: ["GUI"]
arma3_since: "1.00"
locality: {"argument": null, "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_typeText2
revid: 349484
updated: 2023-11-08T17:09:03Z
---

# BIS_fnc_typeText2

*Function · GUI · Arma 3 v1.00*

Locality: effect **local** · executed with **spawn**

## Description

Types a structured text on the screen, letter by letter, cursor blinking. Note that line returns are manual, unlike [BIS_fnc_typeText](../functions/BIS_fnc_typeText.md).

## Syntax

```sqf
[stringLines, posX, posY, alignBottom, rootFormat, abortParams, abortCond, playSounds] call BIS_fnc_typeText2
```

**Parameters:**

- `stringLines`:
  - [Array](../topics/Array.md) of [String](../topics/String.md)s - array containing lines of text with same structured text formatting.
  - [Array](../topics/Array.md) of [Array](../topics/Array.md) of [String](../topics/String.md)s [text, format, color]
    - text: [String](../topics/String.md) - (Optional, default `""`)
    - format: [String](../topics/String.md) - (Optional, default `"align = 'center' size = '0.7'"`) a linebreak is defined as "<br/>" **and this only!**
    - color: [String](../topics/String.md) - (Optional, default `"#ffffff"`)
- `posX`: [Number](../topics/Number.md) - (Optional, default 0)
- `posY`: [Number](../topics/Number.md) - (Optional, default 0)
- `alignBottom`: [Boolean](../topics/Boolean.md) - (Optional, default [true](../commands/true.md))
- `rootFormat`: [String](../topics/String.md) - (Optional, default `"<t>%1</t>"`)
- `abortParams`: [Array](../topics/Array.md) - (Optional, default `[]`)
- `abortCond`: [Code](../topics/Code.md) - (Optional, default `{ false }`)
- `playSounds`: [Boolean](../topics/Boolean.md) - (Optional, default [true](../commands/true.md))

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

## Examples

### Example 1

```sqf
[
    [
        ["CAMP ROGAIN, ", "align = 'center' shadow = '1' size = '0.7' font='PuristaBold'"],
        ["RESUPPLY POINT", "align = 'center' shadow = '1' size = '0.7'", "#aaaaaa"],
        ["", "<br/>"], // line break
        ["10 MINUTES LATER...", "align = 'center' shadow = '1' size = '1.0'"]
    ]
] spawn BIS_fnc_typeText2;
```

### Example 2

```sqf
[
    ["Hello there"],
    safeZoneX, safeZoneH / 2,
    true,
    "<t font='PuristaBold'>%1</t>",
    [],
    { false },
    true
] spawn BIS_fnc_typeText2;
```

## See also

[BIS_fnc_dynamicText](../functions/BIS_fnc_dynamicText.md) · [BIS_fnc_infoText](../functions/BIS_fnc_infoText.md) · [BIS_fnc_textTiles](../functions/BIS_fnc_textTiles.md) · [BIS_fnc_typeText](../functions/BIS_fnc_typeText.md) · [BIS_fnc_EXP_camp_SITREP](../functions/BIS_fnc_EXP_camp_SITREP.md)

<sub>Source: [BI Community Wiki — BIS fnc typeText2](https://community.bistudio.com/wiki/BIS_fnc_typeText2) (revision 349484).</sub>
