BIS fnc showMarker: Difference between revisions

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


| arma3 |Game name=
|game1= arma3
|version1= 1.78


|1.78|Game version=
|eff=global


<!---|arg= local |Multiplayer Arguments=--->
|gr1= Map and Markers


<!---|eff= local |Multiplayer Effects=--->
|descr= Gradual revealing of a marker by setting its alpha to its original alpha or to a user-specified alpha.


| <pre>/*
|s1= [marker, duration, finalAlpha] spawn [[BIS_fnc_showMarker]]
Author: BIS, modified by Riccardo Argiolas


Description:
|p1= marker: [[String]] - marker name
Gradual revealing of a marker by setting its alpha to its original alpha or to a user-specified alpha.


Parameters:
|p2= duration: [[Number]] - (Optional, default 1) duration of revealing
Select 0 - STRING: Marker.
Select 1 (OPTIONAL) - NUMBER: Duration of revealing, default is 1.
Select 2 (OPTIONAL) - NUMBER: final alpha while showing is finished, default is 1.


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


Examples:
|r1= [[Nothing]]
_show = ["BIS_marker"] spawn BIS_fnc_showMarker;
_show = ["BIS_marker",2] spawn BIS_fnc_showMarker;


*/
|x1= <sqf>["BIS_marker",2] spawn BIS_fnc_showMarker;</sqf>
</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=


|[] call [[BIS_fnc_showMarker]]|Syntax=
|exec= spawn


|p1= parameter: Datatype - (Optional, default defValue) description |Parameter 1=
|seealso= [[BIS_fnc_blinkMarker]] [[BIS_fnc_colorMarker]] [[BIS_fnc_moveMarker]]
 
|Datatype - description|Return value=
 
|x1= <code></code>|Example 1=
 
|exec= call |Execution=
 
| |See also=
}}
}}
[[Category:Function Group: Map|{{uc:showMarker}}]]
[[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