BIS fnc moduleFDFadeMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


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


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


| [markerName, alpha] spawn [[BIS_fnc_moduleFDFadeMarker]] |Syntax=
| [markerName, alpha] spawn [[BIS_fnc_moduleFDFadeMarker]]


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


|p2= alpha: [[Number]] - wanted marker alpha |Parameter 2=
|p2= alpha: [[Number]] - wanted marker alpha


| [[Boolean]] - [[true]] when done |Return value=
| [[Boolean]] - [[true]] when done


|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>


|x2= <code>[] spawn  
|x2= <code>[] spawn  
Line 29: Line 29:
     [[sleep]] 0.05;
     [[sleep]] 0.05;
   };
   };
};</code>Creates a pulsating marker |Example 2=
};</code>Creates a pulsating marker


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



Revision as of 23:12, 17 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

Bottom Section