Difference between revisions of "VN fnc showSubtitle"

From Savage Game Design Wiki
Jump to navigation Jump to search
(Page filling)
m (Some wiki formatting)
 
(2 intermediate revisions by the same user not shown)
Line 38: Line 38:
 
|r1d= script controlling the displayed subtitle
 
|r1d= script controlling the displayed subtitle
  
|x1= <code>[name player, "Wow, it's so warm here!"] call VN_fnc_showSubtitle;</code>
+
|x1= <code>[name player, "Wow, it's so warm here!"] call [[VN_fnc_showSubtitle]];</code>
 
}}
 
}}

Latest revision as of 20:23, 26 February 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson, from BIS_fnc_showSubtitle
Argument(s): n/a
Effect(s): local

Description

Displays a subtitle at the bottom of the screen. See BIS_fnc_showSubtitle.

Syntax

Syntax
[from, text, useTitleRsc, useCamPos] call VN_fnc_showSubtitle
Parameters
from: String - (Optional, default "") speaker's display name
text: String - (Optional, default "") subtitle content
useTitleRsc: Boolean - (Optional, default false) forces titleRsc usage for subtitles
useCamPos: Boolean - (Optional, default false) forces the text to the bottom of the SafeZone
Return value
Script (Handle) - script controlling the displayed subtitle

Examples

Example 1
[name player, "Wow, it's so warm here!"] call VN_fnc_showSubtitle;