---
name: "BIS_fnc_initLeaflet"
type: function
status: ok
groups: ["Interaction"]
arma3_since: "1.76"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_initLeaflet
revid: 376288
updated: 2025-09-29T12:43:15Z
---

# BIS_fnc_initLeaflet

*Function · Interaction · Arma 3 v1.76*

## Description

Initialise interactive leaflet.

## Syntax

```sqf
[mode, parameters] call BIS_fnc_initLeaflet
```

**Parameters:**

- `mode`: [String](../topics/String.md) - "init" for scripted initialisation, other mode ("fired") is used when leaflets are fired as a weapon
- `parameters`: [Array](../topics/Array.md) in format:
  - [leaflet, texture, text]:
    - leaflet: [Object](../topics/Object.md) - the leaflet object itself
    - texture: [String](../topics/String.md) - texture path
    - text: [String](../topics/String.md) - localized text, shown when previewing the leaflet in full screen
  - [leaflet, cfgLeafletsClass]:
    - leaflet: [Object](../topics/Object.md) - the leaflet object itself
    - cfgLeafletsClass: [String](../topics/String.md) - class name
  - [position, cfgLeafletsClass]:
    - position: [Array](../topics/Array.md) format [Position](../topics/Position.md) - desired placement position (see [createVehicle](../commands/createVehicle.md))
    - cfgLeafletsClass: [String](../topics/String.md) - class name

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

## Examples

### Example 1

```sqf
["init", [myLeaflet, "#(argb,8,8,3)color(1,1,0,1)", "Yellow pages"]] call BIS_fnc_initLeaflet;
```

### Example 2

```sqf
["init", [myLeaflet, "Custom_02"]] call BIS_fnc_initLeaflet;
```

### Example 3

```sqf
["init", [myLeaflet, "West"]] call BIS_fnc_initLeaflet;
```

### Example 4

```sqf
["init", [getPosATL player, "Custom_02"]] call BIS_fnc_initLeaflet;
```

## See also

Arma 3: Leaflets · [BIS_fnc_initInspectable](../functions/BIS_fnc_initInspectable.md)

<sub>Source: [BI Community Wiki — BIS fnc initLeaflet](https://community.bistudio.com/wiki/BIS_fnc_initLeaflet) (revision 376288).</sub>
