Description
Sets debriefing title, text, subtitle, picture and background for a mission ending. The end type could be the engine-defined ("CONTINUE", "KILLED", "LOSER", "END1", "END2", "END3", "END4", "END5", "END6"), config-defined (see CfgDebriefing) or, with an alternative syntax of this command, any String. Given texts will be used to replace the corresponding texts on the debriefing screen.
Important
In order to benefit from alternative syntax functionality, there will have to be at least three arguments passed to the command; two arguments will trigger the old behaviour.
Syntax
Syntax 1
endType setDebriefingText [title, description]
Parameters:
endType: String - engine typetitle: String - title text on the debriefing screendescription: String - description text on the debriefing screen
Returns: Nothing
Syntax 2
since arma3 2.06
endType setDebriefingText [title, description, subtitle, picture, background]
Parameters:
endType: String - any nametitle: String - title text on the debriefing screendescription: String - description text on the debriefing screensubtitle: String - subtitle text on the debriefing screen (must be defined in order to trigger this syntax of the command)picture: String - (Optional) title picturebackground: String - (Optional) background picture
Returns: Nothing
Examples
Example 1
_currentObjective = (taskDescription currentTask player) select 2;
"endDeath" setDebriefingText ["You Lose", "All of your men were killed while assaulting the " + _currentObjective];
See also
getDebriefingText · disableDebriefingStats · enableDebriefingStats · endMission · failMission · missionEnd