BIS fnc dynamicText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Example)
(Formatted page)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
Shows dynamic opening credits or any type of text.
File: credits.sqf


Description:
Dynamic opening credits
Parameter(s):
_this select 0: Text
_this select 1: (Optional) X coordinates
_this select 2: (Optional) Y coordinates
_this select 3: (Optional) Duration
_this select 4: (Optional) Fadein time
_this select 5: (Optional) Delta Y
_this select 6: (Optional) Resource layer
*/
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_dynamicText]]; --> |= Syntax
| <!-- [] call [[BIS_fnc_dynamicText]]; --> |= Syntax


|p1= |= Parameter 1
|p1=[[String]]: Text |= Parameter 1
|p2=[[Number]]: X coordinates (optional) |= Parameter 2
|p3=[[Number]]: Y coordinates (optional) |= Parameter 3
|p4=[[Number]]: Duration (Optional) |= Parameter 4
|p5=[[Number]]: FadeIn time (Optional) |= Parameter 5
|p6=[[Number]]: Delta Y, Text will move up or down depending on value (Optional) |= Parameter 6
|p7=[[Number]]: Resource layer (Optional) |= Parameter 7


| |= Return value
| |= Return value
Line 36: Line 28:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
|[[BIS_fnc_textTiles]],[[BIS_fnc_typeText]],[[BIS_fnc_typeText2]] |= See also


}}
}}

Revision as of 22:35, 11 April 2016


Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Parameters:
String: Text
Number: X coordinates (optional)
Number: Y coordinates (optional)
Number: Duration (Optional)
Number: FadeIn time (Optional)
Number: Delta Y, Text will move up or down depending on value (Optional)
Number: Resource layer (Optional)
Return Value:
BIS_fnc_textTiles,BIS_fnc_typeText,BIS_fnc_typeText2

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

Notes

Bottom Section