Difference between revisions of "BIS fnc WLSmoothText"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Color" to "Color (RGBA)")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
+
{{Function
  
| arma3 |Game name=
+
| arma3
  
|1.86|Game version=
+
|1.86
  
|gr1 = Warlords |GROUP1=
+
|gr1 = Warlords
  
|gr2= GUI |GROUP2=
+
|gr2= GUI
  
 
|eff= local |Multiplayer Effects=
 
|eff= local |Multiplayer Effects=
  
| Display given text smoothly. |Description=
+
| Display given text smoothly.
  
| [text, nbOfLines, duration, color, outline] [[call]] [[BIS_fnc_WLSmoothText]]|Syntax=
+
| [text, nbOfLines, duration, color, outline] [[call]] [[BIS_fnc_WLSmoothText]]
  
|p1= text: [[String]] - text to display |Parameter 1=
+
|p1= text: [[String]] - text to display
  
|p2= nbOfLines: [[Number]] - (Optional, default 3) maximum number of lines to be shown at the same time |Parameter 2=
+
|p2= nbOfLines: [[Number]] - (Optional, default 3) maximum number of lines to be shown at the same time
  
|p3= duration: [[Number]] - (Optional, default 5) on-screen duration |Parameter 3=
+
|p3= duration: [[Number]] - (Optional, default 5) on-screen duration
  
|p4= color: [[Color|Color (RGBA)]] - (Optional, default [1,1,1,1]) text color |Parameter 4=
+
|p4= color: [[Color|Color (RGBA)]] - (Optional, default [1,1,1,1]) text color
  
|p5= outline: [[Boolean]] - (Optional, default [[true]]) [[true]] to outline the text, [[false]] not to |Parameter 5=
+
|p5= outline: [[Boolean]] - (Optional, default [[true]]) [[true]] to outline the text, [[false]] not to
  
| [[Nothing]] |Return value=
+
| [[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> |Example 1=
+
|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>
  
 
|exec= spawn |Execution=
 
|exec= spawn |Execution=
  
| [[Arma 3 Notification]], [[BIS_fnc_titleText]], [[BIS_fnc_typeText]], [[BIS_fnc_typeText2]] |See also=
+
| [[Arma 3 Notification]], [[BIS_fnc_titleText]], [[BIS_fnc_typeText]], [[BIS_fnc_typeText2]]
 
}}
 
}}
  

Revision as of 22:36, 17 January 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