BIS fnc showMarker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!--|arg= local-->" to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *M([a-z ])" to "$1 - m$2")
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


|game1= arma3
|game1= arma3
|version1= 1.78


|version1= 1.78
|eff=global


|gr1= Map and Markers
|gr1= Map and Markers


|descr= Gradual revealing of a marker by setting its alpha to its original alpha or to a user-specified alpha.
|descr= Gradual revealing of a marker by setting its alpha to its original alpha or to a user-specified alpha.
Line 15: 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]]


|x1= <code>["BIS_marker",2] [[spawn]] [[BIS_fnc_showMarker]];</code>
|x1= <sqf>["BIS_marker",2] spawn BIS_fnc_showMarker;</sqf>


|exec= spawn
|exec= spawn


|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_colorMarker]] [[BIS_fnc_moveMarker]]
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_colorMarker]] [[BIS_fnc_moveMarker]]
}}
}}
[[Category:Functions|{{uc:showMarker}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:showMarker}}]]

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