BIS fnc moduleFDFadeMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|gr1= Modules |GROUP1=" to "|gr1= Modules - Firing Drills |GROUP1=")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Modules - Firing Drills |GROUP1=
|gr1= Modules - Firing Drills |GROUP1=
____________________________________________________________________________________________


| Gradually change the alpha of the given marker. |Description=
| Gradually change the alpha of the given marker. |Description=
____________________________________________________________________________________________


| [markerName, alpha] spawn [[BIS_fnc_moduleFDFadeMarker]] |Syntax=
| [markerName, alpha] spawn [[BIS_fnc_moduleFDFadeMarker]] |Syntax=
Line 21: Line 18:


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


|x1= <code>["tankMarker", 0.25] [[spawn]] [[BIS_fnc_moduleFDFadeMarker]];</code> |Example 1=
|x1= <code>["tankMarker", 0.25] [[spawn]] [[BIS_fnc_moduleFDFadeMarker]];</code> |Example 1=
Line 34: Line 30:
   };
   };
};</code>Creates a pulsating marker |Example 2=
};</code>Creates a pulsating marker |Example 2=
____________________________________________________________________________________________


| [[markerAlpha]], [[setMarkerAlpha]] |See also=
| [[markerAlpha]], [[setMarkerAlpha]] |See also=

Revision as of 23:20, 16 January 2021

Hover & click on the images for description

Description

Description:
Gradually change the alpha of the given marker.
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

Notes

Bottom Section