BIS fnc titleText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Some wiki formatting)
 
(28 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| tkoh |= Game name
|game2= arma3
|version2= 0.50


|1.00|= Game version
|gr1= GUI
____________________________________________________________________________________________


| <pre>/*
|descr= Display given string as structured text. {{Feature|arma3|In {{arma3}} this function displays a bottom-left message, limited to two lines of approximately 53 characters each.}}


Description:
|s1= message call [[BIS_fnc_titleText]]
Display TitleText with structured text


Parameter(s):
|p1= message: [[String]] - [[Structured Text]] formatting supported
_this: STRING - displayed text


Returns:
|r1= [[Boolean]] - [[true]] when done
BOOL - true
*/


#define TITLETEXT_DISPLAY (uinamespace getvariable "RscTitleStructuredText")
|x1= [[File:BIS_fnc_titleText.jpg|right|300px]]<sqf>"Stratis, 2035-07-14 0130<br />A dark night ahead…" call BIS_fnc_titleText;</sqf>
#define TITLETEXT_CONTROL (TITLETEXT_DISPLAY displayctrl 9999)
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_titleText]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[BIS_fnc_dynamicText]] [[BIS_fnc_typeText]] [[BIS_fnc_typeText2]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: GUI|{{uc:titleText}}]]
[[Category:Functions|{{uc:titleText}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:titleText}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:titleText}}]]

Latest revision as of 14:35, 14 November 2023

Hover & click on the images for description

Description

Description:
Display given string as structured text.
Arma 3
In Arma 3 this function displays a bottom-left message, limited to two lines of approximately 53 characters each.
Execution:
call
Groups:
GUI

Syntax

Syntax:
message call BIS_fnc_titleText
Parameters:
message: String - Structured Text formatting supported
Return Value:
Boolean - true when done

Examples

Example 1:
BIS fnc titleText.jpg
"Stratis, 2035-07-14 0130<br />A dark night ahead…" call BIS_fnc_titleText;

Additional Information

See also:
BIS_fnc_dynamicText BIS_fnc_typeText BIS_fnc_typeText2

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note