Difference between revisions of "BIS fnc WLSmoothText"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - "\|s([0-9])= ([^ ]+) (\[\[call\]\]) ([^ ]+) " to "|s$1= $2 call $4 ")
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{RV|type=function
 
{{RV|type=function
  
| arma3
+
|game1= arma3
 
+
|version1= 1.86
|1.86
 
  
 
|gr1= Warlords
 
|gr1= Warlords
Line 11: Line 10:
 
|eff= local
 
|eff= local
  
| Display given text smoothly.
+
|descr= Display given text smoothly.
  
| [text, nbOfLines, duration, color, outline] [[call]] [[BIS_fnc_WLSmoothText]]
+
|s1= [text, nbOfLines, duration, color, outline] call [[BIS_fnc_WLSmoothText]]
  
 
|p1= text: [[String]] - text to display
 
|p1= text: [[String]] - text to display
Line 25: Line 24:
 
|p5= outline: [[Boolean]] - (Optional, default [[true]]) [[true]] to outline the text, [[false]] not to
 
|p5= outline: [[Boolean]] - (Optional, default [[true]]) [[true]] to outline the text, [[false]] not to
  
| [[Nothing]]
+
|r1= [[Nothing]]
  
 
|x1= <code>["Hello, hidden FX", 2, 3, [1,0,0,1], [[true]]] [[spawn]] [[BIS_fnc_WLSmoothText]]; {{cc|no sounds, letters appear in a smooth transition}}</code>
 
|x1= <code>["Hello, hidden FX", 2, 3, [1,0,0,1], [[true]]] [[spawn]] [[BIS_fnc_WLSmoothText]]; {{cc|no sounds, letters appear in a smooth transition}}</code>

Latest revision as of 18:18, 20 June 2021

Hover & click on the images for description

Description

Description:
Display given text smoothly.
Execution:
spawn
Groups:
WarlordsGUI

Syntax

Syntax:
[text, nbOfLines, duration, color, outline] call BIS_fnc_WLSmoothText
Parameters:
text: String - text to display
nbOfLines: Number - (Optional, default 3) maximum number of lines to be shown at the same time
duration: Number - (Optional, default 5) on-screen duration
color: Color (RGBA) - (Optional, default [1,1,1,1]) text color
outline: Boolean - (Optional, default true) true to outline the text, false not to
Return Value:
Nothing

Examples

Example 1:
["Hello, hidden FX", 2, 3, [1,0,0,1], true] spawn BIS_fnc_WLSmoothText; // no sounds, letters appear in a smooth transition

Additional Information

See also:
Arma 3: NotificationBIS_fnc_titleTextBIS_fnc_typeTextBIS_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