---
name: "setDebriefingText"
type: command
status: ok
groups: ["Briefing"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setDebriefingText
revid: 363195
updated: 2024-03-25T16:31:09Z
---

# setDebriefingText

*Command · Briefing · Arma 3 v0.50*

## Description

Sets debriefing title, text, subtitle, picture and background for a mission ending.
The end type could be the engine-defined ("CONTINUE", "KILLED", "LOSER", "END1", "END2", "END3", "END4", "END5", "END6"), config-defined (see CfgDebriefing) or, with an alternative syntax of this command, any [String](../topics/String.md).
Given texts will be used to replace the corresponding texts on the debriefing screen.

> [!IMPORTANT]
> In order to benefit from alternative syntax functionality, there will have to be at least **three** arguments passed to the command; **two** arguments will trigger the old behaviour.

## Syntax

### Syntax 1

```sqf
endType setDebriefingText [title, description]
```

**Parameters:**

- `endType`: [String](../topics/String.md) - engine type
- `title`: [String](../topics/String.md) - title text on the debriefing screen
- `description`: [String](../topics/String.md) - description text on the debriefing screen

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

### Syntax 2

*since arma3 2.06*

```sqf
endType setDebriefingText [title, description, subtitle, picture, background]
```

**Parameters:**

- `endType`: [String](../topics/String.md) - any name
- `title`: [String](../topics/String.md) - title text on the debriefing screen
- `description`: [String](../topics/String.md) - description text on the debriefing screen
- `subtitle`: [String](../topics/String.md) - subtitle text on the debriefing screen (**must** be defined in order to trigger this syntax of the command)
- `picture`: [String](../topics/String.md) - (Optional) title picture
- `background`: [String](../topics/String.md) - (Optional) background picture

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

## Examples

### Example 1

```sqf
_currentObjective = (taskDescription currentTask player) select 2;
"endDeath" setDebriefingText ["You Lose", "All of your men were killed while assaulting the " + _currentObjective];
```

## See also

[getDebriefingText](../commands/getDebriefingText.md) · [disableDebriefingStats](../commands/disableDebriefingStats.md) · [enableDebriefingStats](../commands/enableDebriefingStats.md) · [endMission](../commands/endMission.md) · [failMission](../commands/failMission.md) · [missionEnd](../commands/missionEnd.md)

<sub>Source: [BI Community Wiki — setDebriefingText](https://community.bistudio.com/wiki/setDebriefingText) (revision 363195).</sub>
