BIS fnc WLSmoothText: Difference between revisions
Jump to navigation
Jump to search
m (infobox to template) |
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
||
(31 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.86 | |||
| | |gr1= Warlords | ||
|gr2= GUI | |||
|eff= local | |||
| | |descr= Display given text smoothly. | ||
|s1= [text, nbOfLines, duration, color, outline] call [[BIS_fnc_WLSmoothText]] | |||
|p1= text: [[String]] - text to display | |||
| | |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 | ||
| | |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 | ||
| | |r1= [[Nothing]] | ||
| | | |x1= <sqf>["Hello, hidden FX", 2, 3, [1,0,0,1], true] spawn BIS_fnc_WLSmoothText; // no sounds, letters appear in a smooth transition</sqf> | ||
|exec= spawn | |||
|seealso= [[Arma 3: Notification]] [[BIS_fnc_titleText]] [[BIS_fnc_typeText]] [[BIS_fnc_typeText2]] | |||
}} | }} | ||
Latest revision as of 22:44, 12 July 2022
Description
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:
Additional Information
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