BIS fnc dynamicText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (updated gif)
m (Description updated)
Line 20: Line 20:
|p4=[[Number]]: Duration (Optional) |= Parameter 4
|p4=[[Number]]: Duration (Optional) |= Parameter 4
|p5=[[Number]]: FadeIn time (Optional) |= Parameter 5
|p5=[[Number]]: FadeIn time (Optional) |= Parameter 5
|p6=[[Number]]: Delta Y, Text will move up or down depending on value (Optional) |= Parameter 6
|p6=[[Number]]: Delta Y:
* [[Number]] = 0: Text will not move
* [[Number]] > 1: Text will move down
* [[Number]] < 0: Text will move up  
* The '''absolute''' size will influence the speed of the animation, the larger, the faster it animates|= Parameter 6
|p7=[[Number]]: Resource layer (Optional) |= Parameter 7
|p7=[[Number]]: Resource layer (Optional) |= Parameter 7



Revision as of 18:59, 14 May 2018


Hover & click on the images for description

Description

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

Syntax

Syntax:
[text, x, y, duration, fadeInTime, deltaY, rscLayer] call BIS_fnc_dynamicText
Parameters:
String: Text
Number: X coordinates (optional)
Number: Y coordinates (optional)
Number: Duration (Optional)
Number: FadeIn time (Optional)
Number: Delta Y:
  • Number = 0: Text will not move
  • Number > 1: Text will move down
  • Number < 0: Text will move up
  • The absolute size will influence the speed of the animation, the larger, the faster it animates
Number: Resource layer (Optional)
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:
BIS_fnc_infoTextBIS_fnc_textTilesBIS_fnc_typeTextBIS_fnc_typeText2

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

Notes

Bottom Section