BIS fnc textTiles: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "^ \{\{(Command|Function)" to "{{$1")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


|gr1= GUI |GROUP1=
|gr1= GUI


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


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


|p1= content: [[String]] (picture path) or [[Structured Text]] |PARAMETER1=
|p1= content: [[String]] (picture path) or [[Structured Text]]
|p2= position: [[Boolean]] optional, default [0,0,1,1] (true = "mission" area in layout options, false = full screen) or [[Array]] (format [X, Y, Width, Height]) |PARAMETER2=
|p2= position: [[Boolean]] optional, default [0,0,1,1] (true = "mission" area in layout options, false = full screen) or [[Array]] (format [X, Y, Width, Height])
|p3= tileSize: [[Number]] or [[Array]] optional, default 10 ([10,10]) (format [Width, Height]) |PARAMETER3=
|p3= tileSize: [[Number]] or [[Array]] optional, default 10 ([10,10]) (format [Width, Height])
|p4= duration: [[Number]] optional, default 5 (in seconds) |PARAMETER4=
|p4= duration: [[Number]] optional, default 5 (in seconds)
|p5= fadeInOutTime: [[Number]] or [[Array]] [fadeIn, fadeOut] optional, default 0 (in seconds) |PARAMETER5=
|p5= fadeInOutTime: [[Number]] or [[Array]] [fadeIn, fadeOut] optional, default 0 (in seconds)
|p6= tileTransparency: [[Number]] optional, default 0.3, '''Where 0 is invisible and 1 is visible, more like an alpha value''' |PARAMETER6=
|p6= tileTransparency: [[Number]] optional, default 0.3, '''Where 0 is invisible and 1 is visible, more like an alpha value'''


|exec= spawn |Execution=
|exec= spawn |Execution=


| [[Boolean]] |RETURNVALUE=
| [[Boolean]]


|x1= <code><nowiki>[</nowiki>[[parseText]] "<t font='PuristaBold' size='1.6'>MyMission</t>&lt;br /&gt;by Username", [[true]], [[nil]], 7, 0.7, 0] [[spawn]] [[BIS_fnc_textTiles]]</code> |Example1=
|x1= <code><nowiki>[</nowiki>[[parseText]] "<t font='PuristaBold' size='1.6'>MyMission</t>&lt;br /&gt;by Username", [[true]], [[nil]], 7, 0.7, 0] [[spawn]] [[BIS_fnc_textTiles]]</code>


|x2= <code>["path\to\image.paa"] [[spawn]] [[BIS_fnc_textTiles]]</code>
|x2= <code>["path\to\image.paa"] [[spawn]] [[BIS_fnc_textTiles]]</code>


| [[BIS_fnc_dynamicText]], [[BIS_fnc_infoText]], [[BIS_fnc_typeText]], [[BIS_fnc_typeText2]], [[BIS_fnc_EXP_camp_SITREP]] |SEEALSO=
| [[BIS_fnc_dynamicText]], [[BIS_fnc_infoText]], [[BIS_fnc_typeText]], [[BIS_fnc_typeText2]], [[BIS_fnc_EXP_camp_SITREP]]


}}
}}

Revision as of 00:45, 18 January 2021

Hover & click on the images for description

Description

Description:
Show animated text with background tiles. Can be used to display mission name.
BIS fnc textTiles.gif
Execution:
spawn
Groups:
GUI

Syntax

Syntax:
[content, position, tileSize, duration, fadeInOutTime, tileTransparency] spawn BIS_fnc_textTiles
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:
Boolean

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:
BIS_fnc_dynamicTextBIS_fnc_infoTextBIS_fnc_typeTextBIS_fnc_typeText2BIS_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

Bottom Section