allActiveTitleEffects: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
Line 12: | Line 12: | ||
|r1= [[Array]] of [[Number]]s, where each number represents index of currently active effect layer. | |r1= [[Array]] of [[Number]]s, where each number represents index of currently active effect layer. | ||
|x1= < | |x1= <sqf>cutText ["Hello World!" ,"PLAIN", 2]; | ||
hint str allActiveTitleEffects; // [0]</ | hint str allActiveTitleEffects; // [0]</sqf> | ||
|x2= < | |x2= <sqf>21 cutText ["Hello World!", "PLAIN", 2]; | ||
hint str allActiveTitleEffects; // [21]</ | hint str allActiveTitleEffects; // [21]</sqf> | ||
|x3= < | |x3= <sqf>cutText ["Hello World!", "PLAIN", 2]; | ||
titleText ["Hello World!", "PLAIN", 2]; | titleText ["Hello World!", "PLAIN", 2]; | ||
hint str allActiveTitleEffects; // [-1, 0]</ | hint str allActiveTitleEffects; // [-1, 0]</sqf> | ||
|seealso= [[allCutLayers]] [[cutText]] [[cutRsc]] [[cutObj]] [[cutFadeOut]] [[titleText]] [[titleRsc]] [[titleObj]] [[titleFadeOut]] [[activeTitleEffectParams]] [[Title Effect Type]] | |seealso= [[allCutLayers]] [[cutText]] [[cutRsc]] [[cutObj]] [[cutFadeOut]] [[titleText]] [[titleRsc]] [[titleObj]] [[titleFadeOut]] [[activeTitleEffectParams]] [[Title Effect Type]] | ||
}} | }} |
Revision as of 10:21, 13 May 2022
Description
- Description:
- Returns a list of all layers that have currently active title effect. Numbers equal to or greater than 0 represent cut layers, where as -1 represents title layer (see Title Effect Type). Named layers are represented by their respective index.
- Groups:
- GUI Control
Syntax
- Syntax:
- allActiveTitleEffects
- Return Value:
- Array of Numbers, where each number represents index of currently active effect layer.
Examples
- Example 1:
- Example 2:
- Example 3:
Additional Information
- See also:
- allCutLayers cutText cutRsc cutObj cutFadeOut titleText titleRsc titleObj titleFadeOut activeTitleEffectParams 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