BIS fnc textTiles: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:[fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (endl for image)
Line 7: Line 7:
|gr1= GUI
|gr1= GUI


| Show animated text with background tiles. Can be used to display mission name.[[File:BIS fnc textTiles.gif|left|400px]]
| Show animated text with background tiles. Can be used to display mission name.<br>
[[File:BIS fnc textTiles.gif|left|400px]]


| [''content'', ''position'', ''tileSize'', ''duration'', ''fadeInOutTime'', ''tileTransparency''] spawn [[BIS_fnc_textTiles]]
| [''content'', ''position'', ''tileSize'', ''duration'', ''fadeInOutTime'', ''tileTransparency''] spawn [[BIS_fnc_textTiles]]

Revision as of 02:01, 5 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
spawn
Groups:
GUI

Syntax

Syntax:
Syntax needed
Parameters:
content: String (picture path) or Structured Text
position: Boolean optional, default [0,0,1,1] (true = "mission" area in layout options, false = full screen) or Array (format [X, Y, Width, Height])
tileSize: Number or Array optional, default 10 ([10,10]) (format [Width, Height])
duration: Number optional, default 5 (in seconds)
fadeInOutTime: Number or Array [fadeIn, fadeOut] optional, default 0 (in seconds)
tileTransparency: Number optional, default 0.3, Where 0 is invisible and 1 is visible, more like an alpha value
Return Value:
Return value needed

Examples

Example 1:
[parseText "<t font='PuristaBold' size='1.6'>MyMission</t><br />by Username", true, nil, 7, 0.7, 0] spawn BIS_fnc_textTiles
Example 2:
["path\to\image.paa"] spawn BIS_fnc_textTiles

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