BIS fnc dynamicText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[?[^\[]+\]?) *(\[\[)?(call|spawn)(\]\])? *(\[\[)?(BI(N|S)_fnc_[a-zA-Z0-9_]+)(\]\])?;?<\/code>" to "<sqf>$1 $3 $6;</sqf>") |
||
Line 47: | Line 47: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>["<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;</sqf> | ||
|exec= spawn | |exec= spawn |
Revision as of 13:24, 1 July 2022
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:
- ["<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;
Additional Information
- See also:
- BIS_fnc_infoText BIS_fnc_textTiles BIS_fnc_typeText BIS_fnc_typeText2 BIS_fnc_EXP_camp_SITREP
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