BIS fnc moduleFDFadeMarker: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
m (fixed example 2) |
||
Line 21: | Line 21: | ||
|x1= <code>["myMarker", 0.25] [[call]] [[BIS_fnc_moduleFDFadeMarker]];</code> |Example 1= | |x1= <code>["myMarker", 0.25] [[call]] [[BIS_fnc_moduleFDFadeMarker]];</code> |Example 1= | ||
|x2= <code>[ | |x2= <code>[] spawn | ||
{ | { | ||
[[while]] { [[alive]] enemyTank } [[do]] | |||
{ | |||
["tankMarker", 1] [[call]] [[BIS_fnc_moduleFDFadeMarker]]; | ["tankMarker", 1] [[call]] [[BIS_fnc_moduleFDFadeMarker]]; | ||
["tankMarker", 0] [[call]] [[BIS_fnc_moduleFDFadeMarker]]; | ["tankMarker", 0] [[call]] [[BIS_fnc_moduleFDFadeMarker]]; | ||
};</code> |Example 2= | }; | ||
[[sleep]] 0.05; | |||
};</code>Creates a pulsating marker |Example 2= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 21:40, 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:
[] 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