setDebriefingText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 9: Line 8:


|gr2= Briefing |GROUP2=
|gr2= Briefing |GROUP2=
____________________________________________________________________________________________


| 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 }} |DESCRIPTION=
____________________________________________________________________________________________


| endType '''setDebriefingText''' [title, description] |SYNTAX=
| endType '''setDebriefingText''' [title, description] |SYNTAX=
Line 32: Line 29:
"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>|EXAMPLE1=  


____________________________________________________________________________________________


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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 03:35, 17 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

Notes

Bottom Section