---
name: "BIS_fnc_typeText"
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_typeText
revid: 329328
updated: 2022-07-27T10:15:19Z
---

# BIS_fnc_typeText

*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.

## Syntax

```sqf
[stringLines, posX, posY, rootFormat] spawn BIS_fnc_typeText
```

**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)s format [text, format, blinkCount]:
    - text: [String](../topics/String.md) - (Optional, default "")
    - format: [String](../topics/String.md) - (Optional, default "`%1`<br/>")
    - blinkCount: [Number](../topics/Number.md) - (Optional, default 5) number of cursor blinks after text typing
- `posX`: [Number](../topics/Number.md) - (Optional, default 0)
- `posY`: [Number](../topics/Number.md) - (Optional, default 0)
- `rootFormat`: [String](../topics/String.md) - (Optional, default "`%1`") the parent format

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

## Examples

### Example 1

```sqf
[
    [
        ["CAMP ROGAIN,", "<t align = 'center' shadow = '1' size = '0.7' font='PuristaBold'>%1</t>"],
        ["RESUPPLY POINT", "<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>"],
        ["10 MINUTES LATER ...", "<t align = 'center' shadow = '1' size = '1.0'>%1</t>", 15]
    ]
] spawn BIS_fnc_typeText;
```

### Example 2

```sqf
[
    [
        ["Hello there...", nil, 30]
    ],
    0, safeZoneY + safeZoneH / 2
] spawn BIS_fnc_typeText;
```

## 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_typeText2](../functions/BIS_fnc_typeText2.md)

<sub>Source: [BI Community Wiki — BIS fnc typeText](https://community.bistudio.com/wiki/BIS_fnc_typeText) (revision 329328).</sub>
