BIS fnc 3Dcredits: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma2oa | |game1= arma2oa | ||
|version1= 1.56 | |||
|1. | |game2= tkoh | ||
|version2= 1.00 | |||
|game3= arma3 | |||
|version3= 0.50 | |||
|gr1= GUI | |gr1= GUI | ||
Line 9: | Line 14: | ||
|eff= local | |eff= local | ||
| Displays structured text in 3D world. | |descr= Displays structured text in 3D world. GUI layer for indicator is <tt>2733</tt>. | ||
GUI layer for indicator is <tt>2733</tt>. | |||
| [text, position, | |s1= [text, position, minDis, fadeDis] spawn [[BIS_fnc_3Dcredits]] | ||
|p1= text: [[String]] with optional [[ | |p1= text: [[String]] with optional [[Structured Text]] formatting | ||
|p2= position: [[Array]] in format [[Position]] | |p2= position: [[Array]] in format [[Position]] | ||
|p3= minDis | |p3= minDis: [[Number]] - (Optional, default 20) distance in which text is displayed | ||
|p4= fadeDis | |p4= fadeDis: [[Number]] - (Optional, default is 1.5) distance in which text starts fading again | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Line 29: | Line 32: | ||
|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]] | ||
|exec= spawn | |exec= spawn | ||
}} | }} | ||
Revision as of 15:51, 12 June 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: 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