Arma 3 Scripting

Function in Systems

BIS_fnc_animatePicture

Also available as Markdown and JSON, or read the original wiki page.

Description

Translates (relative or absolute), scales (relative or absolute), and sets the alpha over time on the provided control.

Syntax

[control, durationOrSpeed, [translationPosition, isRelativeTranslation, useDuration], [scalePosition, isRelativeScale, scalePivot], alpha] call BIS_fnc_animatePicture

Parameters:

Returns: Number - animation's duration

Examples

Example 1

private _t =
[
    _controlFront,
    1,
    [[0.5, 0.5], true, false],
    [],
    0.5
] 
call BIS_fnc_animatePicture;