BIS fnc 3Dcredits: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|(arg|eff|serverExec|mp|seealso)= " to "")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 23: Line 23:
|p4= fadeDis ''(Optional)'': [[Number]] - distance in which text starts fading again (default is 1.5)
|p4= fadeDis ''(Optional)'': [[Number]] - distance in which text starts fading again (default is 1.5)


| [[Nothing]]
|r1= [[Nothing]]


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

Revision as of 10:56, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
spawn
Groups:
GUI

Syntax

Syntax:
Syntax needed
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:
See also needed

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