setDebriefingText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) 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 02:35, 17 January 2021
Description
- Description:
- Sets debriefing text for endType defined in CfgDebriefing.
- 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
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