BIS fnc 3Dcredits: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "<tt>([a-zA-Z0-9\. _"\\']+)<\/tt>" to "{{hl|$1}}")
Line 14: Line 14:
|eff= local
|eff= local


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


|s1= [text, position, minDis, fadeDis] spawn [[BIS_fnc_3Dcredits]]
|s1= [text, position, minDis, fadeDis] spawn [[BIS_fnc_3Dcredits]]

Revision as of 00:55, 16 November 2021

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, minDis, fadeDis] spawn BIS_fnc_3Dcredits
Parameters:
text: String with optional Structured Text formatting
position: Array in format Position
minDis: Number - (Optional, default 20) distance in which text is displayed
fadeDis: 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>", 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