BIS fnc typeText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...) |
Lou Montana (talk | contribs) m (Text replacement - "{{Function" to "{{RV|type=function ") |
||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3|1.00|gr1= GUI| Types a structured text on the screen, letter by letter, cursor blinking.[[File:BIS fnc typeText.gif|left|400px]]| [stringLines, posX, posY, rootFormat] spawn [[BIS_fnc_typeText]]|p1= stringLines: | |||
* [[Array]] of [[String|Strings]] - array containing lines of text with same structured text formatting. | * [[Array]] of [[String|Strings]] - array containing lines of text with same structured text formatting. | ||
* [[Array]] of [[Array]] of [[String|Strings]] [text, format, blinkCount] | * [[Array]] of [[Array]] of [[String|Strings]] [text, format, blinkCount] |
Revision as of 12:39, 24 January 2021
Description
- Description:
- Description needed
- Execution:
- spawn
- Groups:
- GUI
Syntax
- Syntax:
- Syntax needed
- Parameters:
- stringLines:
- posX: Number - (Optional, default 0)
- posY: Number - (Optional, default 0)
- rootFormat: String - (Optional, default "<t>%1</t>") the parent format
- Return Value:
- Return value needed
Examples
- Example 1:
[ [ ["CAMP ROGAIN,", "<t align = 'center' shadow = '1' size = '0.7' font='PuristaBold'>%1</t>"], ["RESUPPLY POINT", "<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>"], ["10 MINUTES LATER ...", "<t align = 'center' shadow = '1' size = '1.0'>%1</t>", 15] ] ] spawn BIS_fnc_typeText;
- Example 2:
[ [ ["Hello there...", nil, 30] ], 0, safeZoneY + safeZoneH / 2 ] spawn BIS_fnc_typeText;
Additional Information
- See also:
- See also needed
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