deleteMarkerLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Markers |=GROUP1 ")
m (Some wiki formatting)
 
(40 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma |Game name=
|game1= arma1
|version1= 1.04


|1.04|Game version=
|game2= arma2
|version2= 1.00


|gr1 = Markers |=GROUP1
|game3= arma2oa
|version3= 1.50


|game4= tkoh
|version4= 1.00


|game5= arma3
|version5= 0.50


|eff= local |Multiplayer Effects=
|gr1= Markers
____________________________________________________________________________________________


| Destroys the given marker. |DESCRIPTION=
|eff= local
____________________________________________________________________________________________


| '''deleteMarkerLocal''' markerName |SYNTAX=
|descr= Destroys the given marker.


|p1= markerName: [[String]] |PARAMETER1=
|s1= [[deleteMarkerLocal]] markerName


| [[Nothing]] |RETURNVALUE=
|p1= markerName: [[String]]
___________________________________________________________________________________________
 
|x1= <code>'''deleteMarkerLocal''' "Marker1"</code> |= Example ___________________________________________________________________________________________


| [[createMarkerLocal]], [[deleteMarker]] |SEEALSO=
|r1= [[Nothing]]


|x1= <sqf>deleteMarkerLocal "Marker1";</sqf>
|seealso= [[createMarkerLocal]] [[deleteMarker]]
}}
}}


<h3 style="display:none">Notes</h3>
{{Note
<dl class="command_description">
|user= HomerJohnston
<!-- Note Section BEGIN -->
|timestamp= 20120107091600
 
|text= Unproven: I believe that if you use this command on a globally-created marker, and subsequently another machine executes a global command on the same marker (e.g. setMarkerPos), then the marker will be re-created on the machine it was previously deleted on. Can result in confusing marker behaviour.
<!-- Note Section END -->
}}
</dl>
 
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|DELETEMARKERLOCAL]]
[[Category:Scripting Commands OFP Elite |DELETEMARKERLOCAL]]
[[Category:Scripting Commands Armed Assault|DELETEMARKERLOCAL]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Markers|DELETEMARKERLOCAL]]
 
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on 7 January, 2012
<dt class="note">[[User:HomerJohnston|HomerJohnston]]
<dd class="note">
Unproven: I believe that if you use this command on a globally-created marker, and subsequently another machine executes a global command on the same marker (e.g. setMarkerPos), then the marker will be re-created on the machine it was previously deleted on. Can result in confusing marker behaviour.

Latest revision as of 15:55, 20 March 2023

Hover & click on the images for description

Description

Description:
Destroys the given marker.
Groups:
Markers

Syntax

Syntax:
deleteMarkerLocal markerName
Parameters:
markerName: String
Return Value:
Nothing

Examples

Example 1:
deleteMarkerLocal "Marker1";

Additional Information

See also:
createMarkerLocal deleteMarker

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
HomerJohnston - c
Posted on Jan 07, 2012 - 09:16 (UTC)
Unproven: I believe that if you use this command on a globally-created marker, and subsequently another machine executes a global command on the same marker (e.g. setMarkerPos), then the marker will be re-created on the machine it was previously deleted on. Can result in confusing marker behaviour.