Difference between revisions of "VN fnc showSubtitle"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (1 revision imported)
m (Text replacement - " |a= " to " |author= ")
Line 4: Line 4:
 
|v= 1.00
 
|v= 1.00
  
|a= Thomas Ryan, updated by Karel Moricky, edited by Ethan Johnson
+
|author= Thomas Ryan, updated by Karel Moricky, edited by Ethan Johnson
  
 
|e=
 
|e=

Revision as of 18: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
-