BIS fnc 3Dcredits: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|\= *([a-zA-Z0-9 _]+) *\n" to "|$1=")
m (template argument fix)
(3 intermediate revisions by one other user not shown)
Line 6: Line 6:
|1.56|=
|1.56|=


|arg= | MPARGUMENTS=
|arg= |MPARGUMENTS=  
|eff= local | Effects in MP=____________________________________________________________________________________________
 
|eff= local |= Effects in MP
____________________________________________________________________________________________


| Displays structured text in 3D world.
| Displays structured text in 3D world.
Line 16: Line 18:
| [text,position,''minDis'',''fadeDis''] spawn '''BIS_fnc_3Dcredits'''  |=
| [text,position,''minDis'',''fadeDis''] spawn '''BIS_fnc_3Dcredits'''  |=


|p1= text: [[String]] with optional [[Structured_Text|Structured Text]] formatting | PARAMETER1=
|p1= text: [[String]] with optional [[Structured_Text|Structured Text]] formatting |PARAMETER1=  
|p2= position: [[Array]] in format [[Position]] | PARAMETER2=
 
|p3= minDis ''(Optional)'': [[Number]] - distance in which text is displayed (default is 20) | PARAMETER3=
|p2= position: [[Array]] in format [[Position]] |PARAMETER2=  
|p4= fadeDis ''(Optional)'': [[Number]] - distance in which text starts fading again (default is 1.5) | PARAMETER4=
 
| [[Nothing]] | RETURNVALUE=
|p3= minDis ''(Optional)'': [[Number]] - distance in which text is displayed (default is 20) |PARAMETER3=
|x1= <code>["<t size='2'>Hello World</t>", [[getPos]] helloWorld, 15, 0] [[spawn]] [[BIS_fnc_3Dcredits]];</code>| EXAMPLE1=
 
|p4= fadeDis ''(Optional)'': [[Number]] - distance in which text starts fading again (default is 1.5) |PARAMETER4=
 
| [[Nothing]] |RETURNVALUE=
 
|x1= <code>["<t size='2'>Hello World</t>", [[getPos]] helloWorld, 15, 0] [[spawn]] [[BIS_fnc_3Dcredits]];</code>|EXAMPLE1=
 
|x2= <code>["<img size='2' image='img\myImage.paa'/><nowiki><br /></nowiki>Some text on the second line", [[getPos]] someObject] [[spawn]] [[BIS_fnc_3Dcredits]];</code> |=
|x2= <code>["<img size='2' image='img\myImage.paa'/><nowiki><br /></nowiki>Some text on the second line", [[getPos]] someObject] [[spawn]] [[BIS_fnc_3Dcredits]];</code> |=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Functions Library]] | SEEALSO=
| [[Functions Library]] |SEEALSO=  
|  | MPBEHAVIOUR=
 
|  |MPBEHAVIOUR=  
 
|exec= spawn |= Execution By (defaults to [[call]] if omitted)
|exec= spawn |= Execution By (defaults to [[call]] if omitted)
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 23:26, 6 April 2019

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