Difference between revisions of "VN fnc showSubtitle"

From Savage Game Design Wiki
Jump to navigation Jump to search
vn>Unknown user
m (Generated by LM_exportFunctionsToWiki.sqf)
 
m (1 revision imported)
(No difference)

Revision as of 18:23, 5 January 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
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
-