BIS fnc typeText2: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 10: | Line 9: | ||
|eff= local |Effects in MP= | |eff= local |Effects in MP= | ||
| Types a structured text on the screen, letter by letter, cursor blinking. Note that line returns are manual, unlike [[BIS_fnc_typeText]]. | | Types a structured text on the screen, letter by letter, cursor blinking. Note that line returns are manual, unlike [[BIS_fnc_typeText]]. | ||
[[File:BIS fnc typeText2.gif|left|400px]] | [[File:BIS fnc typeText2.gif|left|400px]] | ||
|Description= | |Description= | ||
| [stringLines, posX, posY, alignBottom, rootFormat, abortParams, abortCond, playSounds] call [[BIS_fnc_typeText2]] |Syntax= | | [stringLines, posX, posY, alignBottom, rootFormat, abortParams, abortCond, playSounds] call [[BIS_fnc_typeText2]] |Syntax= | ||
Line 42: | Line 39: | ||
| [[Nothing]] |Return value= | | [[Nothing]] |Return value= | ||
|x1= <code>[ | |x1= <code>[ | ||
Line 62: | Line 58: | ||
[[true]] | [[true]] | ||
] [[spawn]] [[BIS_fnc_typeText2]];</code> |Example 2= | ] [[spawn]] [[BIS_fnc_typeText2]];</code> |Example 2= | ||
|exec= spawn |Execution= | |exec= spawn |Execution= |
Revision as of 01:10, 17 January 2021
Description
- Description:
- Types a structured text on the screen, letter by letter, cursor blinking. Note that line returns are manual, unlike BIS_fnc_typeText.
- Execution:
- spawn
- Groups:
- GUI
Syntax
- Syntax:
- [stringLines, posX, posY, alignBottom, rootFormat, abortParams, abortCond, playSounds] call BIS_fnc_typeText2
- Parameters:
- stringLines:
- posX: Number - (Optional, default 0)
- posY: Number - (Optional, default 0)
- alignBottom: Boolean - (Optional, default true)
- rootFormat: String - (Optional, default "<t>%1</t>")
- abortParams: Array - (Optional, default [])
- abortCond: Code - (Optional, default
{ false
}) - playSounds: Boolean - (Optional, default true)
- Return Value:
- Nothing
Examples
- Example 1:
[ [ ["CAMP ROGAIN, ", "align = 'center' shadow = '1' size = '0.7' font='PuristaBold'"], ["RESUPPLY POINT", "align = 'center' shadow = '1' size = '0.7'", "#aaaaaa"], ["","<br/>"], // line break ["10 MINUTES LATER...","align = 'center' shadow = '1' size = '1.0'"] ] ] spawn BIS_fnc_typeText2;
- Example 2:
[ ["Hello there"], safeZoneX, safeZoneH / 2, true, "<t font='PuristaBold'>%1</t>", [], { false }, true ] spawn BIS_fnc_typeText2;
Additional Information
- See also:
- BIS_fnc_dynamicTextBIS_fnc_infoTextBIS_fnc_textTilesBIS_fnc_typeTextBIS_fnc_EXP_camp_SITREP
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