setDebriefingText: Difference between revisions

From Bohemia Interactive Community
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]]  |= PARAMETER1
|p1= endType: [[String]]  |PARAMETER1=  


|p2= [title, description]: [[Array]]  |= PARAMETER2
|p2= [title, description]: [[Array]]  |PARAMETER2=  


|p3= title: [[String]]  |= PARAMETER3
|p3= title: [[String]]  |PARAMETER3=


|p4= description: [[String]]  |= PARAMETER4
|p4= description: [[String]]  |PARAMETER4=


| [[Nothing]] |= RETURNVALUE
| [[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>|= EXAMPLE1
"endDeath" [[setDebriefingText]] ["You Lose","All of your men were killed while assaulting the " + _currentObjective];</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


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


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:37, 7 April 2019

Hover & click on the images for description

Description

Description:
Sets debriefing text for endType defined in CfgDebriefing.

This command is broken. https://feedback.bistudio.com/T85682
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