setDebriefingText
Jump to navigation
Jump to search
Description
- Description:
- Sets debriefing title and text (plus subtitle, picture and background with alt syntax) for a mission ending. The end type could be engine-defined (see endType parameter), 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.
- Problems:
- While optional for the game, subtitle must be set for this command to have any effect (
""
will do) - available since 2.06. - Groups:
- Briefing
Syntax
- Syntax:
- endType setDebriefingText [title, description, subtitle, picture, background]
- Parameters:
- endType: String - engine type. Engine defined endings:
- "CONTINUE" - this is default type, basically an alias to do nothing
- "KILLED"
- "LOSER"
- "END1"
- "END2"
- "END3"
- "END4"
- "END5"
- "END6"
- title: String - title text on the debriefing screen
- description: String - description text on the debriefing screen
- subtitle: String - subtitle text on the debriefing screen - must be set for the command to have effect
- picture: String - (Optional, default "") title picture
- background : String - (Optional, default "") background picture
- Return Value:
- Nothing
Examples
- Example 1:
private _currentObjective = (taskDescription (currentTask player)) select 2; "endDeath" setDebriefingText ["You Lose", "All of your men were killed while assaulting the " + _currentObjective];
Additional Information
- See also:
- getDebriefingTextdisableDebriefingStatsenableDebriefingStatsendMissionfailMissionmissionEnd
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