BIS fnc moduleFDFadeMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[[a-zA-Z,. ]*\] spawn ('''|\[\[)?BI(N|S)_fnc_[a-zA-Z]+('''|\]\])?) * \|p1=" to " |s1=$1 |p1=")
m (Text replacement - " \| *p([0-9]{1,2}) *= *(.+) * + \| *(\[\[Bool.+) * " to " |p$1=$2 |r1=$3 ")
Line 15: Line 15:
|p2= alpha: [[Number]] - wanted marker alpha
|p2= alpha: [[Number]] - wanted marker alpha


| [[Boolean]] - [[true]] when done
|r1=[[Boolean]] - [[true]] when done


|exec= spawn|x1= <code>["tankMarker", 0.25] [[spawn]] [[BIS_fnc_moduleFDFadeMarker]];</code>
|exec= spawn|x1= <code>["tankMarker", 0.25] [[spawn]] [[BIS_fnc_moduleFDFadeMarker]];</code>

Revision as of 04:12, 13 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
spawn
Groups:
Modules - Firing Drills

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