activeTitleEffectParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.10
|version1= 2.10
|branch= dev
|branch= dev


Line 20: Line 21:




|x1= <code>21 [[cutText]] ["Hello World!", "PLAIN", 2];
|x1= <sqf>
[[hint]] [[str]] [[activeTitleEffectParams]] 21; // ["TXT", "PLAIN", 2, true]</code>
21 cutText ["Hello World!", "PLAIN", 2];
hint str activeTitleEffectParams 21; // ["TXT", "PLAIN", 2, true]
</sqf>


|x2= <code>[[titleText]] ["Hello World!", "BLACK"];
|x2= <sqf>
[[hint]] [[str]] [[activeTitleEffectParams]] -1; // ["TXT", "BLACK", 1, true]</code>
titleText ["Hello World!", "BLACK"];
hint str activeTitleEffectParams -1; // ["TXT", "BLACK", 1, true]
</sqf>




|seealso= [[allCutLayers]] [[cutText]] [[cutRsc]] [[cutObj]] [[cutFadeOut]] [[titleText]] [[titleRsc]] [[titleObj]] [[titleFadeOut]] [[allActiveTitleEffects]] [[Title Effect Type]]
|seealso= [[allCutLayers]] [[cutText]] [[cutRsc]] [[cutObj]] [[cutFadeOut]] [[titleText]] [[titleRsc]] [[titleObj]] [[titleFadeOut]] [[allActiveTitleEffects]] [[Title Effect Type]]
}}
}}

Revision as of 12:13, 3 May 2022

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.10.

Description

Description:
Returns type, effect, speed and map visibility of the given active title effect (see allActiveTitleEffects)
Groups:
GUI Control

Syntax

Syntax:
activeTitleEffectParams layer
Parameters:
layer: Number - layer number or -1 (see allActiveTitleEffects)
Return Value:
Array in format [type, effect, speed, showInMap] or [], where:

Examples

Example 1:
21 cutText ["Hello World!", "PLAIN", 2]; hint str activeTitleEffectParams 21; // ["TXT", "PLAIN", 2, true]
Example 2:
titleText ["Hello World!", "BLACK"]; hint str activeTitleEffectParams -1; // ["TXT", "BLACK", 1, true]

Additional Information

See also:
allCutLayers cutText cutRsc cutObj cutFadeOut titleText titleRsc titleObj titleFadeOut allActiveTitleEffects Title Effect Type

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