BIS fnc 3Dcredits: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma2oa |Game name= | | arma2oa |Game name= | ||
Line 11: | Line 10: | ||
|eff= local |Effects in MP= | |eff= local |Effects in MP= | ||
| Displays structured text in 3D world. | | Displays structured text in 3D world. | ||
<br> | <br> | ||
GUI layer for indicator is <tt>2733</tt>.|Description= | GUI layer for indicator is <tt>2733</tt>.|Description= | ||
| [text, position, ''minDis'', ''fadeDis''] spawn [[BIS_fnc_3Dcredits]] |Syntax= | | [text, position, ''minDis'', ''fadeDis''] spawn [[BIS_fnc_3Dcredits]] |Syntax= | ||
Line 33: | Line 30: | ||
|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> |EXAMPLE2= | |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> |EXAMPLE2= | ||
| [[Functions Library]] |SEEALSO= | | [[Functions Library]] |SEEALSO= | ||
Line 40: | Line 36: | ||
|exec= spawn |Execution= By (defaults to [[call]] if omitted) | |exec= spawn |Execution= By (defaults to [[call]] if omitted) | ||
}} | }} | ||
Revision as of 21:56, 16 January 2021
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