setDebriefingText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
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...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|0.50|Game version=
|0.50


|gr1= Broken Commands |GROUP1=
|gr1= Broken Commands


|gr2= Briefing |GROUP2=
|gr2= Briefing


| Sets debriefing text for endType defined in [[Debriefing#Configuration|CfgDebriefing]].
| Sets debriefing text for endType defined in [[Debriefing#Configuration|CfgDebriefing]].
<br><br>
<br><br>
{{Warning | This command is broken. https://feedback.bistudio.com/T85682 }} |DESCRIPTION=
{{Warning | This command is broken. https://feedback.bistudio.com/T85682 }}


| endType '''setDebriefingText''' [title, description] |SYNTAX=
| endType '''setDebriefingText''' [title, description]


|p1= endType: [[String]] |PARAMETER1=
|p1= endType: [[String]]


|p2= [title, description]: [[Array]] |PARAMETER2=
|p2= [title, description]: [[Array]]


|p3= title: [[String]] |PARAMETER3=
|p3= title: [[String]]


|p4= description: [[String]] |PARAMETER4=
|p4= description: [[String]]


| [[Nothing]] |RETURNVALUE=
| [[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>|EXAMPLE1=
"endDeath" [[setDebriefingText]] ["You Lose","All of your men were killed while assaulting the " + _currentObjective];</code>




| [[debriefingText]], [[disableDebriefingStats]], [[enableDebriefingStats]] |SEEALSO=
| [[debriefingText]], [[disableDebriefingStats]], [[enableDebriefingStats]]


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 11:10, 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