BIS fnc dynamicText: Difference between revisions
Jump to navigation
Jump to search
m (call to spawn) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
| 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]]|= | [[File:BIS fnc dynamicText_v2.gif|left|400px]]|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [text, x, y, duration, fadeInTime, deltaY, rscLayer] spawn [[BIS_fnc_dynamicText]] |= | | [text, x, y, duration, fadeInTime, deltaY, rscLayer] spawn [[BIS_fnc_dynamicText]] |SYNTAX= | ||
|p1= text: [[String]] - text to display |= Parameter 1 | |p1= text: [[String]] - text to display |= Parameter 1 | ||
Line 31: | Line 31: | ||
|p7= rscLayer: [[Number]] - (Optional, default) resource layer |= Parameter 7 | |p7= rscLayer: [[Number]] - (Optional, default) resource layer |= Parameter 7 | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 39: | Line 39: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[BIS_fnc_infoText]], [[BIS_fnc_textTiles]], [[BIS_fnc_typeText]], [[BIS_fnc_typeText2]], [[BIS_fnc_EXP_camp_SITREP]] |= | | [[BIS_fnc_infoText]], [[BIS_fnc_textTiles]], [[BIS_fnc_typeText]], [[BIS_fnc_typeText2]], [[BIS_fnc_EXP_camp_SITREP]] |SEEALSO= | ||
}} | }} | ||
Revision as of 11:27, 7 April 2019
Description
- Description:
- Shows dynamic opening credits or any type of text.
- Execution:
- spawn
- Groups:
- Uncategorised
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
- 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
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