BIS fnc moduleFDFadeMarker: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) 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 | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1= Modules - Firing Drills | |gr1= Modules - Firing Drills | ||
| Gradually change the alpha of the given marker. | | Gradually change the alpha of the given marker. | ||
| [markerName, alpha] spawn [[BIS_fnc_moduleFDFadeMarker]] | | [markerName, alpha] spawn [[BIS_fnc_moduleFDFadeMarker]] | ||
|p1= markerName: [[String]] | |p1= markerName: [[String]] | ||
|p2= alpha: [[Number]] - wanted marker alpha | |p2= alpha: [[Number]] - wanted marker alpha | ||
| [[Boolean]] - [[true]] when done | | [[Boolean]] - [[true]] when done | ||
|exec= spawn |Execution= | |exec= spawn |Execution= | ||
|x1= <code>["tankMarker", 0.25] [[spawn]] [[BIS_fnc_moduleFDFadeMarker]];</code> | |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 | };</code>Creates a pulsating marker | ||
| [[markerAlpha]], [[setMarkerAlpha]] | | [[markerAlpha]], [[setMarkerAlpha]] | ||
}} | }} | ||
Revision as of 23:12, 17 January 2021
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