{"name":"BIS_fnc_3Dcredits","title":"BIS fnc 3Dcredits","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_3Dcredits","revid":327969,"updated":"2022-07-13T14:24:24Z","groups":["GUI"],"status":"ok","games":{"arma2oa":"1.56","tkoh":"1.00","arma3":"0.50"},"since":"arma2oa 1.56","arma3_since":"0.50","locality":{"effect":"local"},"exec":"spawn","description":"Displays structured text in 3D world. GUI layer for indicator is `2733`.","syntaxes":[{"syntax":"[text, position, minDist, fadeDist] spawn BIS_fnc_3Dcredits","params":[{"name":"text","type":"String with optional Structured Text formatting","type_expr":"String"},{"name":"position","type":"Array in format Position","type_expr":"Position","types":["Array","Position"]},{"name":"minDist","type":"Number","optional":true,"default":"20","description":"distance in which text is displayed","type_expr":"Number","text":"minDist: Number - (Optional, default 20) distance in which text is displayed"},{"name":"fadeDist","type":"Number","optional":true,"default":"1.5","description":"distance in which text starts fading again","type_expr":"Number","text":"fadeDist: Number - (Optional, default is 1.5) distance in which text starts fading again"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[\"<t size='2'>Hello World</t>\", getPosATL helloWorld, 15, 0] spawn BIS_fnc_3Dcredits;"]},{"code":["[\"<img size='2' image='img\\myImage.paa'/><br />Some text on the second line\", getPosATL someObject] spawn BIS_fnc_3Dcredits;"]}],"see_also":["Functions Library"]}