setDebriefingText: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
SilentSpike (talk | contribs) (example+see also) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets debriefing text. |= Description | | Sets debriefing text for endType defined in [[Debriefing#Configuration|CfgDebriefing]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 23: | Line 23: | ||
|x1= <code> | |x1= <code>_currentObjective = ([[taskDescription]] ([[currentTask]] [[player]])) [[select]] 2; | ||
</code>|= EXAMPLE1 | "endDeath" [[setDebriefingText]] ["You Lose","All of your men were killed while assaulting the " + _currentObjective];</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[debriefingText]], [[disableDebriefingStats]], [[enableDebriefingStats]] |= SEEALSO | ||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 16:49, 21 August 2014
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