Difference between revisions of "VN fnc showSubtitle"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - " |e=" to " |a= |e=")
m (Text replacement - " {{Function" to "Category:TODO {{Function")
Line 1: Line 1:
 
+
[[Category:TODO]]
 
{{Function
 
{{Function
  

Revision as of 22:35, 5 January 2021

← 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
-