setDebriefingText: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) No edit summary |
||
Line 53: | Line 53: | ||
"endDeath" [[setDebriefingText]] ["You Lose","All of your men were killed while assaulting the " + _currentObjective];</code> | "endDeath" [[setDebriefingText]] ["You Lose","All of your men were killed while assaulting the " + _currentObjective];</code> | ||
|seealso= [[debriefingText]], [[disableDebriefingStats]], [[enableDebriefingStats]] | |seealso= [[debriefingText]], [[disableDebriefingStats]], [[enableDebriefingStats]], [[endMission]], [[failMission]], [[missionEnd]] | ||
}} | }} |
Revision as of 08:13, 5 August 2021
Description
- Description:
- Sets debriefing title and text (plus subtitle, picture and background with alt syntax) for a mission ending. The end type could be the engine defined (see below),the 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. Engine defined endings:
- "CONTINUE" - this is default type, basically an alias to do nothing
- "KILLED"
- "LOSER"
- "END1"
- "END2"
- "END3"
- "END4"
- "END5"
- "END6"
- Groups:
- Briefing
Syntax
- Syntax:
- endType setDebriefingText [title, description]
- Parameters:
- endType: String - engine type
- [title, description]: Array
- title: String - title text on the debriefing screen
- description: String - description text on the debriefing screen
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- endType setDebriefingText [title, description, subtitle, picture, background]
- Parameters:
- endType: String - any name
- [title, description, subtitle, picture, background]: Array
- 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 to use this syntax, even if to empty string "")
- picture (Optional): String - title picture
- background (Optional): String - background picture
- 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