setDebriefingText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(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  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[debriefingText]], [[disableDebriefingStats]], [[enableDebriefingStats]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 17:49, 21 August 2014

Hover & click on the images for description

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

See also:
debriefingTextdisableDebriefingStatsenableDebriefingStats

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

Notes

Bottom Section