{"name":"BIS_fnc_textTiles","operator":null,"title":"BIS fnc textTiles","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_textTiles","revid":349016,"updated":"2023-11-08T14:47:07Z","groups":["GUI"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"exec":"spawn","description":"Shows an animated text with background tiles.","syntaxes":[{"syntax":"[content, position, tileSize, duration, fadeInOutTime, tileTransparency] spawn BIS_fnc_textTiles","since":null,"effect":null,"exec":null,"params":[{"name":"content","type":"String or Structured Text","optional":false,"default":null,"description":"String or Structured Text\n- String - path to texure\n- Structured Text - formatted text","types":["String","Structured Text"],"since":null,"text":"content: String or Structured Text\n- String - path to texure\n- Structured Text - formatted text"},{"name":"position","type":"Boolean or Array","optional":true,"default":"[0, 0, 1, 1]","description":"Boolean - true to use *mission area* set in the layout options, false for full screen\n- Array - screen space coordinates in format [x, y, w, h]","types":["Boolean","Array"],"since":null,"text":"position: Boolean or Array (optional, default [0, 0, 1, 1])\n- Boolean - true to use *mission area* set in the layout options, false for full screen\n- Array - screen space coordinates in format [x, y, w, h]"},{"name":"tileSize","type":"Number or Array","optional":true,"default":"10 ([10,10])\n- Number - tile size in screen space coordinates. Tile will be square\n- Array - tile size in screen space coordinates in format [w, h]","description":null,"types":["Number","Array"],"since":null,"text":"tileSize: Number or Array (optional, default 10 ([10,10])\n- Number - tile size in screen space coordinates. Tile will be square\n- Array - tile size in screen space coordinates in format [w, h]"},{"name":"duration","type":"Number","optional":true,"default":"5","description":"duration in seconds","types":["Number"],"since":null,"text":"duration: Number - (optional, default 5) duration in seconds"},{"name":"fadeInOutTime","type":"Number or Array","optional":true,"default":"0","description":"duration of the fade effect in seconds\n- Array - format [fadeIn, fadeOut]\n- Number - duration of the fadeIn/Out effect","types":["Number","Array"],"since":null,"text":"fadeInOutTime: Number or Array - (optional, default 0) duration of the fade effect in seconds\n- Array - format [fadeIn, fadeOut]\n- Number - duration of the fadeIn/Out effect"},{"name":"tileTransparency","type":"Number","optional":true,"default":"0.3","description":"transparency or alpha value of the tiles. 0 means invisible and 1 fully visible","types":["Number"],"since":null,"text":"tileTransparency: Number - (optional, default 0.3) transparency or alpha value of the tiles. 0 means invisible and 1 fully visible"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"returns always true","text":"Boolean - returns always true"}}],"examples":[{"text":"```sqf\n[parseText \"<t font='PuristaBold' size='1.6'>MyMission</t><br />by Username\", true, nil, 7, 0.7, 0] spawn BIS_fnc_textTiles;\n```","code":["[parseText \"<t font='PuristaBold' size='1.6'>MyMission</t><br />by Username\", true, nil, 7, 0.7, 0] spawn BIS_fnc_textTiles;"]},{"text":"```sqf\n[\"path\\to\\image.paa\"] spawn BIS_fnc_textTiles;\n```","code":["[\"path\\to\\image.paa\"] spawn BIS_fnc_textTiles;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_dynamicText","BIS_fnc_infoText","BIS_fnc_typeText","BIS_fnc_typeText2","BIS_fnc_EXP_camp_SITREP"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: GUI","Functions","Functions: Local Effect","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}