setDebriefingText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
m (Text replacement - " {3,}\|" to " |")
Line 24: Line 24:


| [[Nothing]]
| [[Nothing]]


|x1= <code>_currentObjective = ([[taskDescription]] ([[currentTask]] [[player]])) [[select]] 2;
|x1= <code>_currentObjective = ([[taskDescription]] ([[currentTask]] [[player]])) [[select]] 2;
"endDeath" [[setDebriefingText]] ["You Lose","All of your men were killed while assaulting the " + _currentObjective];</code>
"endDeath" [[setDebriefingText]] ["You Lose","All of your men were killed while assaulting the " + _currentObjective];</code>


| [[debriefingText]], [[disableDebriefingStats]], [[enableDebriefingStats]]
| [[debriefingText]], [[disableDebriefingStats]], [[enableDebriefingStats]]

Revision as of 18:55, 18 January 2021

Hover & click on the images for description

Description

Description:
Sets debriefing text for endType defined in CfgDebriefing.

This command is broken. https://feedback.bistudio.com/T85682
Groups:
Broken CommandsBriefing

Syntax

Syntax:
endType setDebriefingText [title, description]
Parameters:
endType: String
[title, description]: Array
title: String
description: String
Return Value:
Nothing

Examples

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

Additional Information

See also:
debriefingTextdisableDebriefingStatsenableDebriefingStats

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note