BIS fnc moduleFDFadeMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(fixed example and execution method)
m (Text replacement - "|= Execution " to "|Execution= ")
Line 18: Line 18:
| [[Boolean]] - [[true]] when done |Return value=
| [[Boolean]] - [[true]] when done |Return value=


|exec= spawn |= Execution
|exec= spawn |Execution=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 00:40, 20 December 2019

Hover & click on the images for description

Description

Description:
Gradually change the alpha of the given marker.
Execution:
spawn
Groups:
Uncategorised

Syntax

Syntax:
[markerName, alpha] spawn BIS_fnc_moduleFDFadeMarker
Parameters:
markerName: String
alpha: Number - wanted marker alpha
Return Value:
Boolean - true when done

Examples

Example 1:
["tankMarker", 0.25] spawn BIS_fnc_moduleFDFadeMarker;
Example 2:
[] spawn { while { alive enemyTank } do { ["tankMarker", 1] call BIS_fnc_moduleFDFadeMarker; ["tankMarker", 0] call BIS_fnc_moduleFDFadeMarker; sleep 0.05; }; };Creates a pulsating marker

Additional Information

See also:
markerAlphasetMarkerAlpha

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

Notes

Bottom Section