setDebriefingText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) 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...) |
Lou Montana (talk | contribs) 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 17:55, 18 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