BIS fnc dynamicText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma2oa |Game name=
| arma2oa |Game name=
Line 7: Line 6:


|gr1= GUI |GROUP1=
|gr1= GUI |GROUP1=
____________________________________________________________________________________________


| Shows dynamic opening credits or any type of text.  
| Shows dynamic opening credits or any type of text.  
[[File:BIS fnc dynamicText_v2.gif|left|400px]]|DESCRIPTION=
[[File:BIS fnc dynamicText_v2.gif|left|400px]]|DESCRIPTION=
____________________________________________________________________________________________


| [text, x, y, duration, fadeInTime, deltaY, rscLayer] spawn [[BIS_fnc_dynamicText]] |SYNTAX=
| [text, x, y, duration, fadeInTime, deltaY, rscLayer] spawn [[BIS_fnc_dynamicText]] |SYNTAX=
Line 34: Line 31:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code>["<t color='#ff0000' size = '.8'>Warning!<nowiki><br /></nowiki>Stop doing what you are doing</t>",-1,-1,4,1,0,789] spawn [[BIS_fnc_dynamicText]];</code> |EXAMPLE1=
|x1= <code>["<t color='#ff0000' size = '.8'>Warning!<nowiki><br /></nowiki>Stop doing what you are doing</t>",-1,-1,4,1,0,789] spawn [[BIS_fnc_dynamicText]];</code> |EXAMPLE1=


|exec= spawn |Execution=
|exec= spawn |Execution=
____________________________________________________________________________________________


| [[BIS_fnc_infoText]], [[BIS_fnc_textTiles]], [[BIS_fnc_typeText]], [[BIS_fnc_typeText2]], [[BIS_fnc_EXP_camp_SITREP]] |SEEALSO=
| [[BIS_fnc_infoText]], [[BIS_fnc_textTiles]], [[BIS_fnc_typeText]], [[BIS_fnc_typeText2]], [[BIS_fnc_EXP_camp_SITREP]] |SEEALSO=

Revision as of 00:12, 17 January 2021

Hover & click on the images for description

Description

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

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

See also:
BIS_fnc_infoTextBIS_fnc_textTilesBIS_fnc_typeTextBIS_fnc_typeText2BIS_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

Notes

Bottom Section