Difference between revisions of "VN fnc showSubtitle"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (1 revision imported) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | | | + | |author= Ethan Johnson, from {{Biki|BIS_fnc_showSubtitle}} |
− | |e= | + | |a= |
+ | |||
+ | |e= local | ||
|g1= vn_subtitle_functions | |g1= vn_subtitle_functions | ||
− | |d= | + | |d= Displays a subtitle at the bottom of the screen. See {{Biki|BIS_fnc_showSubtitle}}. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |s= [from, text, useTitleRsc, useCamPos] call [[VN_fnc_showSubtitle]] | |
− | |||
− | |||
− | |||
− | |||
− | + | |p1n= from | |
+ | |p1t= string | ||
+ | |p1d= speaker's display name | ||
+ | |p1v= "" | ||
− | | | + | |p2n= text |
+ | |p2t= string | ||
+ | |p2d= subtitle content | ||
+ | |p2v= "" | ||
− | | | + | |p3n= useTitleRsc |
− | | | + | |p3t= boolean |
− | | | + | |p3d= forces {{Biki|titleRsc}} usage for subtitles |
− | | | + | |p3v= {{Biki|false}} |
− | | | + | |p4n= useCamPos |
− | | | + | |p4t= boolean |
− | | | + | |p4d= forces the text to the bottom of the {{Biki|SafeZone}} |
− | | | + | |p4v= {{Biki|false}} |
− | |r1t= | + | |r1t= script |
− | |r1d= | + | |r1d= script controlling the displayed subtitle |
− | |x1= <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 |
|
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;