BIS fnc moduleFDFadeMarker: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "<code> *(\^+\]) +\[\[spawn\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 spawn $2;</sqf>") |
||
Line 18: | Line 18: | ||
|exec= spawn | |exec= spawn | ||
|x1= < | |x1= <sqf>["tankMarker", 0.25] spawn BIS_fnc_moduleFDFadeMarker;</sqf> | ||
|x2= Creates a pulsating marker:<code>[] spawn | |x2= Creates a pulsating marker:<code>[] spawn |
Revision as of 19:04, 5 May 2022
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:
- Example 2:
- Creates a pulsating marker:
[] spawn { while { alive enemyTank } do { ["tankMarker", 1] call BIS_fnc_moduleFDFadeMarker; ["tankMarker", 0] call BIS_fnc_moduleFDFadeMarker; sleep 0.05; }; ["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