BIS fnc textTiles: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=") |
Lou Montana (talk | contribs) m (Text replacement - "\|" to "|") |
||
Line 19: | Line 19: | ||
|p6= tileTransparency: [[Number]] optional, default 0.3, '''Where 0 is invisible and 1 is visible, more like an alpha value''' | |p6= tileTransparency: [[Number]] optional, default 0.3, '''Where 0 is invisible and 1 is visible, more like an alpha value''' | ||
|exec= spawn | |exec= spawn|r1= [[Boolean]] | ||
|x1= <code><nowiki>[</nowiki>[[parseText]] "<t font='PuristaBold' size='1.6'>MyMission</t><br />by Username", [[true]], [[nil]], 7, 0.7, 0] [[spawn]] [[BIS_fnc_textTiles]]</code> | |||
|x2= <code>["path\to\image.paa"] [[spawn]] [[BIS_fnc_textTiles]]</code> | |x2= <code>["path\to\image.paa"] [[spawn]] [[BIS_fnc_textTiles]]</code> |
Revision as of 10:34, 10 June 2021
Description
- Description:
- Description needed
- Execution:
- spawn
- Groups:
- GUI
Syntax
- Syntax:
- Syntax needed
- Parameters:
- content: String (picture path) or Structured Text
- position: Boolean optional, default [0,0,1,1] (true = "mission" area in layout options, false = full screen) or Array (format [X, Y, Width, Height])
- tileSize: Number or Array optional, default 10 ([10,10]) (format [Width, Height])
- duration: Number optional, default 5 (in seconds)
- fadeInOutTime: Number or Array [fadeIn, fadeOut] optional, default 0 (in seconds)
- tileTransparency: Number optional, default 0.3, Where 0 is invisible and 1 is visible, more like an alpha value
- Return Value:
- Boolean
Examples
- Example 1:
[parseText "<t font='PuristaBold' size='1.6'>MyMission</t><br />by Username", true, nil, 7, 0.7, 0] spawn BIS_fnc_textTiles
- Example 2:
["path\to\image.paa"] spawn BIS_fnc_textTiles
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