BIS fnc 3Dcredits: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (exec=spawn)
(2 intermediate revisions by 2 users not shown)
Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [text,position,''minDis'',''fadeDis''] call '''BIS_fnc_3Dcredits'''  |=
| [text,position,''minDis'',''fadeDis''] spawn '''BIS_fnc_3Dcredits'''  |=


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


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


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  
|exec= spawn |= Execution By (defaults to [[call]] if omitted)
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}
Line 47: Line 49:


<h3 style='display:none'>Bottom Section</h3>
<h3 style='display:none'>Bottom Section</h3>
 
[[Category:Function Group: GUI|{{uc:3Dcredits}}]]
[[Category:ArmA 2: Functions|3DCREDITS}}]]
[[Category:Functions|{{uc:3Dcredits}}]]
[[Category:Function Group: GUI|3DCREDITS]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:3Dcredits}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:3Dcredits}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:3Dcredits}}]]

Revision as of 17:05, 25 December 2014

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