activeTitleEffectParams: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.10 |branch= dev |gr1= GUI Control |descr= Returns type, effect, speed and map visibility of the given active title effect (see...") |
Lou Montana (talk | contribs) m (Text replacement - "\|branch= *dev " to "") |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.10 | |version1= 2.10 | ||
|gr1= GUI Control | |gr1= GUI Control | ||
Line 13: | Line 13: | ||
|p1 = layer: [[Number]] - layer number or -1 (see [[allActiveTitleEffects]]) | |p1 = layer: [[Number]] - layer number or -1 (see [[allActiveTitleEffects]]) | ||
|r1= [[Array]] in format [type, effect, speed, showInMap], where: | |r1= [[Array]] in format [type, effect, speed, showInMap] or [], where: | ||
* type: [[String]] - type of effect, | * type: [[String]] - type of effect, can be {{hl|"OBJ"}}, {{hl|"RSC"}} or {{hl|"TXT"}} | ||
* effect: [[String]] - [[Title Effect Type]] ( | * effect: [[String]] - [[Title Effect Type]] ({{hl|"PLAIN"}}, {{hl|"BLACK OUT"}} etc) | ||
* speed: [[Number]] - effect speed multiplier | * speed: [[Number]] - effect speed multiplier | ||
* showInMap: [[Boolean]] - [[true]] if effect is available over map | * showInMap: [[Boolean]] - [[true]] if effect is available over map | ||
|x1= < | |x1= <sqf> | ||
21 cutText ["Hello World!", "PLAIN", 2]; | |||
hint str activeTitleEffectParams 21; // ["TXT", "PLAIN", 2, true] | |||
</sqf> | |||
|x2= < | |x2= <sqf> | ||
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]] | ||
}} | }} |
Latest revision as of 13:23, 23 August 2022
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:
- Example 2:
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