BIS fnc 3Dcredits: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (template argument fix)
(21 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Function|=
____________________________________________________________________________________________


{{Function|= Comments
| arma2oa |=
 
|1.56|=
 
|arg= |MPARGUMENTS=
 
|eff= local |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma2oa |= Game name
| Displays structured text in 3D world.
<br>
GUI layer for indicator is <tt>2733</tt>.|=
____________________________________________________________________________________________


|1.00|= Game version
| [text,position,''minDis'',''fadeDis''] spawn '''BIS_fnc_3Dcredits'''  |=
____________________________________________________________________________________________


| <pre>
|p1= text: [[String]] with optional [[Structured_Text|Structured Text]] formatting |PARAMETER1=
/*


Description:
|p2= position: [[Array]] in format [[Position]] |PARAMETER2=
3D credits.


Parameter(s):
|p3= minDis ''(Optional)'': [[Number]] - distance in which text is displayed (default is 20) |PARAMETER3=
_this select 0: STRING - Text
_this select 1: ARRAY - Position in 3D world


Returns:
|p4= fadeDis ''(Optional)'': [[Number]] - distance in which text starts fading again (default is 1.5) |PARAMETER4=
True
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_3Dcredits]]; --> |= Syntax
| [[Nothing]] |RETURNVALUE=


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


| |= Return value
|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> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
| [[Functions Library]] |SEEALSO=  
____________________________________________________________________________________________


| |= See also
| |MPBEHAVIOUR=  


|exec= spawn |= Execution By (defaults to [[call]] if omitted)
____________________________________________________________________________________________
}}
}}


<h3 style="display:none">Notes</h3>
<h3 style='display:none'>Notes</h3>
<dl class="command_description">
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


Line 45: Line 48:
</dl>
</dl>


<h3 style="display:none">Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Function Group: GUI|{{uc:3Dcredits}}]]
[[Category:Function Group: GUI|{{uc:3Dcredits}}]]
[[Category:Functions|{{uc:3Dcredits}}]]
[[Category:Functions|{{uc:3Dcredits}}]]

Revision as of 23:26, 6 April 2019

Hover & click on the images for description

Description

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

Syntax

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

Examples

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

Notes

Bottom Section