deleteMarkerLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(fixed example)
m (Some wiki formatting)
 
Line 27: Line 27:


|r1= [[Nothing]]
|r1= [[Nothing]]
 
 
|x1= <sqf>deleteMarkerLocal "Marker1";</sqf>
|x1= <sqf>deleteMarkerLocal "Marker1";</sqf>


Line 33: Line 33:
}}
}}


 
{{Note
<dl class="command_description">
|user= HomerJohnston
 
|timestamp= 20120107091600
<dt></dt>
|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.
<dd class="notedate">Posted on 7 January, 2012</dd>
}}
<dt class="note">[[User:HomerJohnston|HomerJohnston]]</dt>
<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.