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 - "(\|[pr][0-9]+ *= *[^- ]*) *- *M([a-z ])" to "$1 - m$2")
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
|s1= [marker, duration, finalAlpha] spawn [[BIS_fnc_showMarker]]
|s1= [marker, duration, finalAlpha] spawn [[BIS_fnc_showMarker]]


|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


|r1= [[Nothing]]
|r1= [[Nothing]]

Latest revision as of 15:39, 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