BIS fnc WLSmoothText: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Warlords |GROUP1=") |
Lou Montana (talk | contribs) m (Text replacement - "Color" to "Color (RGBA)") |
||
Line 21: | Line 21: | ||
|p3= duration: [[Number]] - (Optional, default 5) on-screen duration |Parameter 3= | |p3= duration: [[Number]] - (Optional, default 5) on-screen duration |Parameter 3= | ||
|p4= color: [[Color]] - (Optional, default [1,1,1,1]) text color |Parameter 4= | |p4= color: [[Color|Color (RGBA)]] - (Optional, default [1,1,1,1]) text color |Parameter 4= | ||
|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 |Parameter 5= |
Revision as of 14:54, 16 October 2020
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:
["Hello, hidden FX", 2, 3, [1,0,0,1], true] spawn BIS_fnc_WLSmoothText; // no sounds, letters appear in a smooth transition
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