BIS fnc moduleFDFadeMarker: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
{{Function|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Gradually change the alpha of the given marker. |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [markerName, alpha] call [[BIS_fnc_moduleFDFadeMarker]] |Syntax= | ||
|p1= | | |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= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | [[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:{{Name|arma3}}: Functions|{{uc:moduleFDFadeMarker}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:moduleFDFadeMarker}}]] |
Revision as of 17:51, 2 July 2018
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