BIS fnc dynamicText: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Parameters can also be array) |
||
Line 21: | Line 21: | ||
|p1= text: [[String]] - text to display | |p1= text: [[String]] - text to display | ||
|p2= x: [[Number]] or [[Array - (Optional, default -1) | |p2= x: [[Number]] or [[Array]] - (Optional, default -1) | ||
* [[Number]] - Position in x | * [[Number]] - Position in x | ||
* [[Array]] | * [[Array]] | ||
Line 27: | Line 27: | ||
** 1: Width of the control | ** 1: Width of the control | ||
|p3= y: [[Number]] - (Optional, default -1) | |p3= y: [[Number]] or [[Array]] - (Optional, default -1) | ||
* [[Number]] - Position in y | |||
* [[Array]] | |||
** 0: Position in y | |||
** 1: Height of the control | |||
|p4= duration: [[Number]] - (Optional, default 4) display duration | |p4= duration: [[Number]] - (Optional, default 4) display duration |
Revision as of 23:35, 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 or Array - (Optional, default -1)
- y: Number or Array - (Optional, default -1)
- 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