setDebriefingText: Difference between revisions
Jump to navigation
Jump to search
(Command broken.) |
m (template:command argument fix) |
||
Line 14: | Line 14: | ||
| endType '''setDebriefingText''' [title, description] |= Syntax | | endType '''setDebriefingText''' [title, description] |= Syntax | ||
|p1= endType: [[String]] |= | |p1= endType: [[String]] |PARAMETER1= | ||
|p2= [title, description]: [[Array]] |= | |p2= [title, description]: [[Array]] |PARAMETER2= | ||
|p3= title: [[String]] |= | |p3= title: [[String]] |PARAMETER3= | ||
|p4= description: [[String]] |= | |p4= description: [[String]] |PARAMETER4= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|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>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[debriefingText]], [[disableDebriefingStats]], [[enableDebriefingStats]] |= | | [[debriefingText]], [[disableDebriefingStats]], [[enableDebriefingStats]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:37, 7 April 2019
Description
- Description:
- Sets debriefing text for endType defined in CfgDebriefing.
- Groups:
- Uncategorised
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