BIS fnc dynamicText: Difference between revisions
Jump to navigation
Jump to search
m (version) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 2: | Line 2: | ||
|game1 = arma2oa | |game1 = arma2oa | ||
|version1= 1.50 | |||
| | |game2= tkoh | ||
|version2= 1.00 | |||
|game3= arma3 | |||
|version3= 0.50 | |||
|gr1= GUI | |gr1= GUI | ||
Line 18: | Line 23: | ||
|p2= x: [[Number]] - (Optional, default -1) X coordinates | |p2= x: [[Number]] - (Optional, default -1) X coordinates | ||
|p3= y: [[Number]] - (Optional, default -1) Y coordinates | |p3= y: [[Number]] - (Optional, default -1) Y coordinates | ||
|p4= duration: [[Number]] - (Optional, default 4) display duration | |p4= duration: [[Number]] - (Optional, default 4) display duration | ||
Line 30: | Line 35: | ||
''duration'' and the absolute ''deltaY'' value will influence the movement speed. | ''duration'' and the absolute ''deltaY'' value will influence the movement speed. | ||
|p7= rscLayer: [[Number]] - | |p7= rscLayer: [[Number]] - resource layer | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>["<t color='#ff0000' size = '.8'>Warning! | |x1= <code>["<nowiki><t color='#ff0000' size='.8'>Warning!<br />Stop doing what you are doing</t></nowiki>",-1,-1,4,1,0,789] spawn [[BIS_fnc_dynamicText]];</code> | ||
|exec= spawn | |exec= spawn | ||
Line 40: | Line 45: | ||
|seealso= [[BIS_fnc_infoText]], [[BIS_fnc_textTiles]], [[BIS_fnc_typeText]], [[BIS_fnc_typeText2]], [[BIS_fnc_EXP_camp_SITREP]] | |seealso= [[BIS_fnc_infoText]], [[BIS_fnc_textTiles]], [[BIS_fnc_typeText]], [[BIS_fnc_typeText2]], [[BIS_fnc_EXP_camp_SITREP]] | ||
}} | }} | ||
Revision as of 21:11, 10 June 2021
Description
Syntax
- Syntax:
- [text, x, y, duration, fadeInTime, deltaY, rscLayer] spawn BIS_fnc_dynamicText
- Parameters:
- text: String - text to display
- x: Number - (Optional, default -1) X coordinates
- y: Number - (Optional, default -1) Y coordinates
- duration: Number - (Optional, default 4) display duration
- fadeInTime: Number - (Optional, default 1) fade-in time
- deltaY: Number - (Optional, default 0) Y position delta:
- = 0: Text will not move
- > 0: Text will move down
- < 0: Text will move up
- rscLayer: Number - resource layer
- Return Value:
- Nothing
Examples
- Example 1:
["<t color='#ff0000' size='.8'>Warning!<br />Stop doing what you are doing</t>",-1,-1,4,1,0,789] spawn BIS_fnc_dynamicText;
Additional Information
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