---
name: "BIS_fnc_3Dcredits"
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_3Dcredits
revid: 327969
updated: 2022-07-13T14:24:24Z
---

# BIS_fnc_3Dcredits

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

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

## Description

Displays structured text in 3D world. GUI layer for indicator is `2733`.

## Syntax

```sqf
[text, position, minDist, fadeDist] spawn BIS_fnc_3Dcredits
```

**Parameters:**

- `text`: [String](../topics/String.md) with optional [Structured Text](../topics/Structured_Text.md) formatting
- `position`: [Array](../topics/Array.md) in format [Position](../topics/Position.md)
- `minDist`: [Number](../topics/Number.md) - (Optional, default 20) distance in which text is displayed
- `fadeDist`: [Number](../topics/Number.md) - (Optional, default is 1.5) distance in which text starts fading again

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

## Examples

### Example 1

```sqf
["<t size='2'>Hello World</t>", getPosATL helloWorld, 15, 0] spawn BIS_fnc_3Dcredits;
```

### Example 2

```sqf
["<img size='2' image='img\myImage.paa'/><br />Some text on the second line", getPosATL someObject] spawn BIS_fnc_3Dcredits;
```

## See also

Functions Library

<sub>Source: [BI Community Wiki — BIS fnc 3Dcredits](https://community.bistudio.com/wiki/BIS_fnc_3Dcredits) (revision 327969).</sub>
