Arma 3 Scripting

BIS_fnc_moduleFDFadeMarker

  • Runs with spawn
  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Gradually change the alpha of the given marker.

Syntax

[markerName, alpha] spawn BIS_fnc_moduleFDFadeMarker

Parameters:

Returns: Boolean - true when done

Examples

Example 1

["tankMarker", 0.25] spawn BIS_fnc_moduleFDFadeMarker;

Example 2

Creates a pulsating marker:

[] spawn
{
    while { alive enemyTank } do
    {
        ["tankMarker", 1] call BIS_fnc_moduleFDFadeMarker;
        ["tankMarker", 0] call BIS_fnc_moduleFDFadeMarker;
        sleep 0.05;
    };
    ["tankMarker", 0] call BIS_fnc_moduleFDFadeMarker;
};

See also

markerAlpha · setMarkerAlpha