---
name: "BIS_fnc_dynamicText"
type: function
status: ok
groups: ["GUI"]
arma3_since: "0.50"
locality: {"argument": null, "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_dynamicText
revid: 330683
updated: 2022-10-21T17:13:50Z
---

# BIS_fnc_dynamicText

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

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

## Description

Shows dynamic opening credits or any type of text.

## Syntax

```sqf
[text, x, y, duration, fadeInTime, deltaY, rscLayer] spawn BIS_fnc_dynamicText
```

**Parameters:**

- `text`: [String](../topics/String.md) - text to display
- `x`: [Number](../topics/Number.md) or [Array](../topics/Array.md) - (Optional, default -1)
  - [Number](../topics/Number.md) - Position in x
  - [Array](../topics/Array.md)
    - 0: Position in x
    - 1: Width of the control
- `y`: [Number](../topics/Number.md) or [Array](../topics/Array.md) - (Optional, default -1)
  - [Number](../topics/Number.md) - Position in y
  - [Array](../topics/Array.md)
    - 0: Position in y
    - 1: Height of the control
- `duration`: [Number](../topics/Number.md) - (Optional, default 4) display duration
- `fadeInTime`: [Number](../topics/Number.md) - (Optional, default 1) fade-in time
- `deltaY`: [Number](../topics/Number.md) - (Optional, default 0) Y position delta:
  - = 0: Text will not move
  - > 0: Text will move down
  - < 0: Text will move up
  *duration* and the absolute *deltaY* value will influence the movement speed.
- `rscLayer`: [Number](../topics/Number.md) - resource layer

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

## Examples

### Example 1

```sqf
["<t color='#ff0000' size='.8'>Warning!<br />Stop doing what you are doing</t>",-1,-1,4,1,0,789] spawn BIS_fnc_dynamicText;
```

## See also

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

<sub>Source: [BI Community Wiki — BIS fnc dynamicText](https://community.bistudio.com/wiki/BIS_fnc_dynamicText) (revision 330683).</sub>
