BIS fnc dynamicText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - " \| *(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) +=" to " |$1=") |
||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
|game1 = arma2oa | |game1= arma2oa | ||
|version1= 1.50 | |version1= 1.50 | ||
Line 12: | Line 12: | ||
|gr1= GUI | |gr1= GUI | ||
|eff = local | |eff= local | ||
|descr= Shows dynamic opening credits or any type of text.<br> | |descr= Shows dynamic opening credits or any type of text.<br> |
Revision as of 23:33, 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