setDebriefingText: Difference between revisions
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 "") |
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...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|0.50 | |0.50 | ||
|gr1= Broken Commands | |gr1= Broken Commands | ||
|gr2= Briefing | |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 }} | {{Warning | This command is broken. https://feedback.bistudio.com/T85682 }} | ||
| endType '''setDebriefingText''' [title, description] | | endType '''setDebriefingText''' [title, description] | ||
|p1= endType: [[String]] | |p1= endType: [[String]] | ||
|p2= [title, description]: [[Array]] | |p2= [title, description]: [[Array]] | ||
|p3= title: [[String]] | |p3= title: [[String]] | ||
|p4= description: [[String]] | |p4= description: [[String]] | ||
| [[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 11:10, 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