VN_fnc_showDebrief

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Heyoxe
Argument(s): n/a
Effect(s): unknown

Description

Shows the Campaign Endscreen.

Syntax

Syntax
[_name,_state,_task,_debrief,_note,_image,_background,_key] call VN_fnc_showDebrief;
Parameters
_name: String - (Optional, default <briefingName> (command)) Mission name
_state: String - (Optional, default "" (empty string)) Mission state (success, failure, ...)
_task: String - (Optional, default "" (empty string)) Task, will be parsed as a strucutredText
_debrief: String - (Optional, default "" (empty string)) Debriefing, will be parsed as a strucutredText
_note: String - (Optional, default "" (empty string)) Sticky note, will be parsed as a strucutredText
_image: String - (Optional, default "" (empty string)) Main image
_background: String - (Optional, default "" (empty string)) Background image
_key: String - (Optional, default "" (empty string)) key to press
Return value
Nothing

Examples

Example 1
[ "Eldest Son", "Success", localize "STR_VN_DEBRIEFING_CO01_OVERVIEW", localize "STR_VN_DEBRIEFING_CO01_FAILOBJECTIVE", localize "STR_VN_DEBRIEFING_CO01_NOTES", "\vn\missions_f_vietnam\data\img\m01\debrief_fail.jpg", "\vn\missions_f_vietnam\data\img\m01\debrief_fail.jpg", "Space" ] call VN_fnc_showDebrief