BIS_fnc_dynamicText
- Local effect
- Runs with spawn
- Arma 3 v0.50
- First in Arma 2: Operation Arrowhead v1.50
Function · Markdown · JSON · original wiki page
Description
Shows dynamic opening credits or any type of text.
Syntax
[text, x, y, duration, fadeInTime, deltaY, rscLayer] spawn BIS_fnc_dynamicText
Parameters:
text: String - text to displayx: Number or Array - (Optional, default -1)y: Number or Array - (Optional, default -1)duration: Number - (Optional, default 4) display durationfadeInTime: Number - (Optional, default 1) fade-in timedeltaY: Number - (Optional, default 0) Y position delta:- = 0: Text will not move
-
0: Text will move down
- < 0: Text will move up duration and the absolute deltaY value will influence the movement speed.
rscLayer: Number - resource layer
Returns: 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;
See also
BIS_fnc_infoText · BIS_fnc_textTiles · BIS_fnc_typeText · BIS_fnc_typeText2 · BIS_fnc_EXP_camp_SITREP