BIS fnc dynamicText: Difference between revisions
Jump to navigation
Jump to search
m (see also) |
m (call to spawn) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [text, x, y, duration, fadeInTime, deltaY, rscLayer] | | [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 35: | Line 35: | ||
|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> |= Example 1 | |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> |= Example 1 | ||
|exec= spawn |= Execution | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 18:53, 2 June 2018
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