BIS_fnc_dynamicText

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2: Operation Arrowhead version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2: Operation Arrowhead
Version:
1.00

Description

Description:
Shows dynamic opening credits or any type of text.
BIS fnc dynamicText v2.gif

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
duration and the absolute deltaY value will influence the movement speed.
rscLayer: Number - (Optional, default) 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

Execution:
spawn
Multiplayer:
-
See also:
BIS_fnc_infoTextBIS_fnc_textTilesBIS_fnc_typeTextBIS_fnc_typeText2BIS_fnc_EXP_camp_SITREP

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section