BIS fnc textTiles: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *(\^+\]) +\[\[spawn\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 spawn $2;</sqf>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 8: | Line 8: | ||
|eff= local | |eff= local | ||
|descr= | |descr= [[File:BIS fnc textTiles.gif|right|400px]] | ||
Shows an animated text with background tiles. | |||
|s1= [content, position, tileSize, duration, fadeInOutTime, tileTransparency] spawn [[BIS_fnc_textTiles]] | |s1= [content, position, tileSize, duration, fadeInOutTime, tileTransparency] spawn [[BIS_fnc_textTiles]] | ||
Line 36: | Line 37: | ||
|exec= spawn | |exec= spawn | ||
|x1= < | |x1= <sqf>[parseText "<t font='PuristaBold' size='1.6'>MyMission</t><br />by Username", true, nil, 7, 0.7, 0] spawn BIS_fnc_textTiles;</sqf> | ||
|x2= <sqf>["path\to\image.paa"] spawn BIS_fnc_textTiles;</sqf> | |x2= <sqf>["path\to\image.paa"] spawn BIS_fnc_textTiles;</sqf> |
Revision as of 19:00, 5 May 2022
Description
Syntax
- Syntax:
- [content, position, tileSize, duration, fadeInOutTime, tileTransparency] spawn BIS_fnc_textTiles
- Parameters:
- content: String or Structured Text
- String - path to texure
- Structured Text - formatted text
- position: Boolean or Array (optional, default [0, 0, 1, 1])
- tileSize: Number or Array (optional, default 10 ([10,10])
- duration: Number - (optional, default 5) duration in seconds
- fadeInOutTime: Number or Array - (optional, default 0) duration of the fade effect in seconds
- tileTransparency: Number - (optional, default 0.3) transparency or alpha value of the tiles. 0 means invisible and 1 fully visible
- Return Value:
- Boolean - Returns always true
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- BIS_fnc_dynamicTextBIS_fnc_infoTextBIS_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