BIS fnc dynamicText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Undo revision 237468 by R3vo (talk))
Tag: Undo
m (linebreak for image)
Line 7: Line 7:
|gr1= GUI
|gr1= GUI


| Shows dynamic opening credits or any type of text.  
| Shows dynamic opening credits or any type of text.<br>
[[File:BIS fnc dynamicText_v2.gif|left|400px]]
[[File:BIS fnc dynamicText_v2.gif|left|400px]]



Revision as of 23:15, 4 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
spawn
Groups:
GUI

Syntax

Syntax:
Syntax needed
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:
Return value needed

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

See also:
See also needed

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