BIS fnc moduleFDFadeMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
(Page filling)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| ''N/A'' |= Description
| Gradually change the alpha of the given marker. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_moduleFDFadeMarker]]; --> |= Syntax
| [markerName, alpha] call [[BIS_fnc_moduleFDFadeMarker]] |Syntax=


|p1= |= Parameter 1
|p1= markerName: [[String]] |Parameter 1=


| |= Return value
|p2= alpha: [[Number]] - wanted marker alpha |Parameter 2=
 
| [[Boolean]] - [[true]] when done |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
|x1= <code>["myMarker", 0.25] [[call]] [[BIS_fnc_moduleFDFadeMarker]];</code> |Example 1=
 
|x2= <code>[[while]] { [[alive]] enemyTank } [[do]]
{
["tankMarker", 1] [[call]] [[BIS_fnc_moduleFDFadeMarker]];
["tankMarker", 0] [[call]] [[BIS_fnc_moduleFDFadeMarker]];
};</code> |Example 2=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


Line 33: Line 39:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:moduleFDFadeMarker}}]]
[[Category:Function Group: ModuleFiringDrills|{{uc:moduleFDFadeMarker}}]]
[[Category:Function Group: ModuleFiringDrills|{{uc:moduleFDFadeMarker}}]]
[[Category:Functions|{{uc:moduleFDFadeMarker}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:moduleFDFadeMarker}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:moduleFDFadeMarker}}]]

Revision as of 18:51, 2 July 2018

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
["myMarker", 0.25] call BIS_fnc_moduleFDFadeMarker;
Example 2:
while { alive enemyTank } do { ["tankMarker", 1] call BIS_fnc_moduleFDFadeMarker; ["tankMarker", 0] call BIS_fnc_moduleFDFadeMarker; };

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