BIS fnc 3Dcredits: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (eg)
Line 26: Line 26:
| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |= RETURNVALUE


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


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

Revision as of 07:40, 21 October 2012

Hover & click on the images for description

Description

Description:
Displays structured text in 3D world.

GUI layer for indicator is 2733.
Groups:
Uncategorised

Syntax

Syntax:
[text,position,minDis,fadeDis] call BIS_fnc_3Dcredits
Parameters:
text: Structured Text
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