VN_fnc_showSubtitle

From Savage Game Design Wiki
Revision as of 21:03, 20 January 2021 by Lou Montana (talk | contribs) (Text replacement - "]]; |p1n=" to "]] |p1n=")
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Thomas Ryan, updated by Karel Moricky, edited by Ethan Johnson
Argument(s): n/a
Effect(s): unknown

Description

/*
	Author: Thomas Ryan, updated by Karel Moricky, edited by Ethan Johnson

	Description:
	Displays a subtitle at the bottom of the screen.

	Parameters:
		_this select 0: STRING - Name of the person speaking.
		_this select 1: STRING - Contents of the subtitle.

	Returns:
	SCRIPT - Script controlling the displayed subtitle.
*/

#define POS_W		(0.4 * safeZoneW)
#define POS_H		(safeZoneH)
#define POS_X		(0.5 - POS_W / 2)
#define POS_Y		(safeZoneY + (7/8) * safeZoneH)
#define POS_Y_CAM	(safeZoneY + (31/32) * safeZoneH)

(Placeholder description extracted from the function header by LM_exportFunctionsToWiki.sqf)

Syntax

Syntax
[] call VN_fnc_showsubtitle
Return value
Nothing

Examples

Example 1
-