activeTitleEffectParams: Difference between revisions

From Bohemia Interactive Community
No edit summary
mNo edit summary
 
Line 13: Line 13:
|p1 = layer: [[Number]] - layer number or -1 (see [[allActiveTitleEffects]])
|p1 = layer: [[Number]] - layer number or -1 (see [[allActiveTitleEffects]])


|r1= [[Array]] format [type, effect, speed, showInMap] or [], where:
|r1= [[Array]] with [type, effect, speed, showInMap] or [], where:
* type: [[String]] - type of effect, can be {{hl|"OBJ"}}, {{hl|"RSC"}} or {{hl|"TXT"}}
* type: [[String]] - type of effect, can be {{hl|"OBJ"}}, {{hl|"RSC"}} or {{hl|"TXT"}}
* effect: [[String]] - [[Title Effect Type]] ({{hl|"PLAIN"}}, {{hl|"BLACK OUT"}} etc)
* effect: [[String]] - [[Title Effect Type]] ({{hl|"PLAIN"}}, {{hl|"BLACK OUT"}} etc)

Latest revision as of 09:51, 2 January 2026

Hover & click on the images for description

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 with [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.
Only post proven facts here! Add Note