BIS fnc 3Dcredits: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects( \("local" or "gl...)
Line 7: Line 7:
|gr1= GUI
|gr1= GUI


|arg= |MPARGUMENTS=  
|arg=


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


| Displays structured text in 3D world.
| Displays structured text in 3D world.
Line 33: Line 33:
| [[Functions Library]]
| [[Functions Library]]


| |MPBEHAVIOUR=
|


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

Revision as of 02:46, 18 January 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 (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


Bottom Section