getDebriefingText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Some wiki formatting)
Line 6: Line 6:
|gr1= Briefing
|gr1= Briefing


|descr= A getter for [[setDebriefingText]]. Returns array in format: [text, title] (if old syntax of [[setDebriefingText]] was used)) or  [text, title, subtitle, picture, background]] (if alt syntax of [[setDebriefingText]] was used) or an empty array [] if [[setDebriefingText]] was not used.
|descr= A getter for [[setDebriefingText]].


|s1= [[getDebriefingText]] end
|s1= [[getDebriefingText]] end
Line 12: Line 12:
|p1= end: [[String]] - end type
|p1= end: [[String]] - end type


|r1= [[Array]] - see the description
|r1= [[Array]] in format:
* [text, title] (if old syntax of [[setDebriefingText]] was used))
* [text, title, subtitle, picture, background] (if alt syntax of [[setDebriefingText]] was used)
* empty array if [[setDebriefingText]] was not used


|x1= <code>_debriefingTexts = [[getDebriefingText]] "endDeath";</code>
|x1= <sqf>private _debriefingTextDeath = getDebriefingText "endDeath";</sqf>


|seealso= [[setDebriefingText]] [[disableDebriefingStats]] [[enableDebriefingStats]] [[endMission]] [[failMission]] [[missionEnd]]
|seealso= [[setDebriefingText]] [[disableDebriefingStats]] [[enableDebriefingStats]] [[endMission]] [[failMission]] [[missionEnd]]
}}
}}

Revision as of 18:01, 5 May 2022

Hover & click on the images for description

Description

Description:
A getter for setDebriefingText.
Groups:
Briefing

Syntax

Syntax:
getDebriefingText end
Parameters:
end: String - end type
Return Value:
Array in format:

Examples

Example 1:
private _debriefingTextDeath = getDebriefingText "endDeath";

Additional Information

See also:
setDebriefingText disableDebriefingStats enableDebriefingStats endMission failMission missionEnd

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