{"name":"BIS_fnc_3Dcredits","operator":null,"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","replaced_by":[],"games":[{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.56"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.56"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":"local","server_exec":false},"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","since":null,"effect":null,"exec":null,"params":[{"name":"text","type":"String with optional Structured Text formatting","optional":false,"default":null,"description":null,"types":["String","Structured Text"],"since":null,"text":"text: String with optional Structured Text formatting"},{"name":"position","type":"Array in format Position","optional":false,"default":null,"description":null,"types":["Array","Position"],"since":null,"text":"position: Array in format Position"},{"name":"minDist","type":"Number","optional":true,"default":"20","description":"distance in which text is displayed","types":["Number"],"since":null,"text":"minDist: Number - (Optional, default 20) distance in which text is displayed"},{"name":"fadeDist","type":"Number","optional":true,"default":"is 1.5","description":"distance in which text starts fading again","types":["Number"],"since":null,"text":"fadeDist: Number - (Optional, default is 1.5) distance in which text starts fading again"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[\"<t size='2'>Hello World</t>\", getPosATL helloWorld, 15, 0] spawn BIS_fnc_3Dcredits;\n```","code":["[\"<t size='2'>Hello World</t>\", getPosATL helloWorld, 15, 0] spawn BIS_fnc_3Dcredits;"]},{"text":"```sqf\n[\"<img size='2' image='img\\myImage.paa'/><br />Some text on the second line\", getPosATL someObject] spawn BIS_fnc_3Dcredits;\n```","code":["[\"<img size='2' image='img\\myImage.paa'/><br />Some text on the second line\", getPosATL someObject] spawn BIS_fnc_3Dcredits;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["Functions Library"],"notes":[],"categories":["Arma 2: Operation Arrowhead: Functions","Arma 2: Operation Arrowhead: New Functions","Arma 3: Functions","Function Group: GUI","Functions","Functions: Local Effect","Introduced with Arma 2: Operation Arrowhead version 1.56","Take On Helicopters: Functions"],"docblock":null,"filled_from_docblock":[]}