BIS fnc 3Dcredits: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1= GUI |GROUP1=")
m (Some wiki formatting)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma2oa |Game name=
|game1= arma2oa
|version1= 1.56


|1.56|Game version=
|game2= tkoh
|version2= 1.00


|gr1= GUI |GROUP1=
|game3= arma3
|version3= 0.50


|arg= |MPARGUMENTS=  
|gr1= GUI


|eff= local |Effects in MP=
|eff= local
____________________________________________________________________________________________


| Displays structured text in 3D world.
|descr= Displays structured text in 3D world. GUI layer for indicator is {{hl|2733}}.
<br>
GUI layer for indicator is <tt>2733</tt>.|Description=
____________________________________________________________________________________________


| [text, position, ''minDis'', ''fadeDis''] spawn [[BIS_fnc_3Dcredits]] |Syntax=
|s1= [text, position, minDist, fadeDist] spawn [[BIS_fnc_3Dcredits]]


|p1= text: [[String]] with optional [[Structured_Text|Structured Text]] formatting |PARAMETER1=
|p1= text: [[String]] with optional [[Structured Text]] formatting


|p2= position: [[Array]] in format [[Position]] |PARAMETER2=
|p2= position: [[Array]] in format [[Position]]


|p3= minDis ''(Optional)'': [[Number]] - distance in which text is displayed (default is 20) |PARAMETER3=
|p3= minDist: [[Number]] - (Optional, default 20) distance in which text is displayed


|p4= fadeDis ''(Optional)'': [[Number]] - distance in which text starts fading again (default is 1.5) |PARAMETER4=
|p4= fadeDist: [[Number]] - (Optional, default is 1.5) distance in which text starts fading again


| [[Nothing]] |RETURNVALUE=
|r1= [[Nothing]]


|x1= <code>["<t size='2'>Hello World</t>", [[getPos]] helloWorld, 15, 0] [[spawn]] [[BIS_fnc_3Dcredits]];</code>|EXAMPLE1=
|x1= <sqf>["<t size='2'>Hello World</t>", getPosATL helloWorld, 15, 0] spawn BIS_fnc_3Dcredits;</sqf>


|x2= <code>["<img size='2' image='img\myImage.paa'/><nowiki><br /></nowiki>Some text on the second line", [[getPos]] someObject] [[spawn]] [[BIS_fnc_3Dcredits]];</code> |EXAMPLE2=
|x2= <sqf>["<img size='2' image='img\myImage.paa'/><br />Some text on the second line", getPosATL someObject] spawn BIS_fnc_3Dcredits;</sqf>
____________________________________________________________________________________________


| [[Functions Library]] |SEEALSO=
|seealso= [[Functions Library]]


|  |MPBEHAVIOUR=
|exec= spawn
 
|exec= spawn |Execution= By (defaults to [[call]] if omitted)
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Function Group: GUI|{{uc:3Dcredits}}]]
[[Category:Functions|{{uc:3Dcredits}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:3Dcredits}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:3Dcredits}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:3Dcredits}}]]

Latest revision as of 15:24, 13 July 2022

Hover & click on the images for description

Description

Description:
Displays structured text in 3D world. GUI layer for indicator is 2733.
Execution:
spawn
Groups:
GUI

Syntax

Syntax:
[text, position, minDist, fadeDist] spawn BIS_fnc_3Dcredits
Parameters:
text: String with optional Structured Text formatting
position: Array in format Position
minDist: Number - (Optional, default 20) distance in which text is displayed
fadeDist: Number - (Optional, default is 1.5) distance in which text starts fading again
Return Value:
Nothing

Examples

Example 1:
["<t size='2'>Hello World</t>", getPosATL helloWorld, 15, 0] spawn BIS_fnc_3Dcredits;
Example 2:
["<img size='2' image='img\myImage.paa'/><br />Some text on the second line", getPosATL someObject] spawn BIS_fnc_3Dcredits;

Additional Information

See also:
Functions Library

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