BIS fnc showMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> *(\^+\]) +\[\[spawn\]\] +\[\[(BIS_fnc_[a-zA-Z0-9_]+)\]\];? *<\/code>" to "<sqf>$1 spawn $2;</sqf>")
m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )D([a-z])" to "$1d$3")
Line 14: Line 14:
|p1= marker: [[String]] - Marker name
|p1= marker: [[String]] - Marker name


|p2= duration: [[Number]] - (Optional, default 1) Duration of revealing
|p2= duration: [[Number]] - (Optional, default 1) duration of revealing


|p3= finalAlpha: [[Number]] - (Optional, default 1) Final alpha while showing is finished
|p3= finalAlpha: [[Number]] - (Optional, default 1) Final alpha while showing is finished

Revision as of 12:28, 8 November 2023

Hover & click on the images for description

Description

Description:
Gradual revealing of a marker by setting its alpha to its original alpha or to a user-specified alpha.
Execution:
spawn
Groups:
Map and Markers

Syntax

Syntax:
[marker, duration, finalAlpha] spawn BIS_fnc_showMarker
Parameters:
marker: String - Marker name
duration: Number - (Optional, default 1) duration of revealing
finalAlpha: Number - (Optional, default 1) Final alpha while showing is finished
Return Value:
Nothing

Examples

Example 1:
["BIS_marker",2] spawn BIS_fnc_showMarker;

Additional Information

See also:
BIS_fnc_blinkMarker BIS_fnc_colorMarker BIS_fnc_moveMarker

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