Difference between revisions of "VN fnc showDebrief"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Created page with "{{Function |v= 1.00 |author=Heyoxe |a= |e= |g1= debriefing |d= <pre>Shows the Campaign Endscreen.</pre> |s= [_name,_state,_task,_debrief,_note,_image,_background,_key] ca...")
 
 
Line 57: Line 57:
  
 
|x1= <code>[
 
|x1= <code>[
"Eldest Son",
+
"Eldest Son",
"Success",
+
"Success",
localize "STR_VN_DEBRIEFING_CO01_OVERVIEW",
+
localize "STR_VN_DEBRIEFING_CO01_OVERVIEW",
localize "STR_VN_DEBRIEFING_CO01_FAILOBJECTIVE",
+
localize "STR_VN_DEBRIEFING_CO01_FAILOBJECTIVE",
localize "STR_VN_DEBRIEFING_CO01_NOTES",
+
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",
"\vn\missions_f_vietnam\data\img\m01\debrief_fail.jpg",
+
"\vn\missions_f_vietnam\data\img\m01\debrief_fail.jpg",
"Space"
+
"Space"
] call VN_fnc_showDebrief</code>
+
] call VN_fnc_showDebrief</code>
 
}}
 
}}

Latest revision as of 20:22, 4 May 2022

← 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