BIS fnc moduleFDFadeMarker: Difference between revisions
Jump to navigation
Jump to search
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...) |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]+)<\/code>" to "<sqf>$1</sqf>") |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| arma3 | |game1= arma3 | ||
|version1= 1.00 | |||
|1.00 | |||
|gr1= Modules - Firing Drills | |gr1= Modules - Firing Drills | ||
| Gradually change the alpha of the given marker. | |descr= Gradually change the alpha of the given marker. | ||
| [markerName, alpha] spawn [[BIS_fnc_moduleFDFadeMarker]] | |s1= [markerName, alpha] spawn [[BIS_fnc_moduleFDFadeMarker]] | ||
|p1= markerName: [[String]] | |p1= markerName: [[String]] | ||
Line 15: | Line 14: | ||
|p2= alpha: [[Number]] - wanted marker alpha | |p2= alpha: [[Number]] - wanted marker alpha | ||
| [[Boolean]] - [[true]] when done | |r1= [[Boolean]] - [[true]] when done | ||
|exec= spawn | |exec= spawn | ||
|x1= < | |x1= <sqf>["tankMarker", 0.25] spawn BIS_fnc_moduleFDFadeMarker;</sqf> | ||
|x2= < | |x2= Creates a pulsating marker: | ||
<sqf>[] 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; | ||
};</sqf> | |||
| [[markerAlpha]] | |seealso= [[markerAlpha]] [[setMarkerAlpha]] | ||
}} | }} | ||
Latest revision as of 17:11, 13 July 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:
Additional Information
- See also:
- markerAlpha setMarkerAlpha
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