BIS fnc 3Dcredits: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(One intermediate revision by the same user not shown) | |||
Line 14: | Line 14: | ||
|eff= local | |eff= local | ||
|descr= Displays structured text in 3D world. GUI layer for indicator is | |descr= Displays structured text in 3D world. GUI layer for indicator is {{hl|2733}}. | ||
|s1= [text, position, | |s1= [text, position, minDist, fadeDist] spawn [[BIS_fnc_3Dcredits]] | ||
|p1= text: [[String]] with optional [[Structured Text]] formatting | |p1= text: [[String]] with optional [[Structured Text]] formatting | ||
Line 22: | Line 22: | ||
|p2= position: [[Array]] in format [[Position]] | |p2= position: [[Array]] in format [[Position]] | ||
|p3= | |p3= minDist: [[Number]] - (Optional, default 20) distance in which text is displayed | ||
|p4= | |p4= fadeDist: [[Number]] - (Optional, default is 1.5) distance in which text starts fading again | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>["<t size='2'>Hello World</t>", getPosATL helloWorld, 15, 0] spawn BIS_fnc_3Dcredits;</sqf> | ||
|x2= < | |x2= <sqf>["<img size='2' image='img\myImage.paa'/><br />Some text on the second line", getPosATL someObject] spawn BIS_fnc_3Dcredits;</sqf> | ||
|seealso= [[Functions Library]] | |seealso= [[Functions Library]] |
Latest revision as of 15:24, 13 July 2022
Description
- Description:
- Displays structured text in 3D world. GUI layer for indicator is 2733.
- Execution:
- spawn
- Groups:
- GUI
Syntax
- Syntax:
- [text, position, minDist, fadeDist] spawn BIS_fnc_3Dcredits
- Parameters:
- text: String with optional Structured Text formatting
- position: Array in format Position
- minDist: Number - (Optional, default 20) distance in which text is displayed
- fadeDist: Number - (Optional, default is 1.5) distance in which text starts fading again
- Return Value:
- Nothing
Examples
- Example 1:
- Example 2:
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