deleteMarkerLocal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma1 *\| *(New )?Scripting Commands\}\}" to "")
m (Some wiki formatting)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma1
|game1= arma1
|1.04
|version1= 1.04


|game2= arma2
|game2= arma2
Line 20: Line 20:
|eff= local
|eff= local


| Destroys the given marker.
|descr= Destroys the given marker.


|s1= '''deleteMarkerLocal''' markerName
|s1= [[deleteMarkerLocal]] markerName


|p1= markerName: [[String]]
|p1= markerName: [[String]]


| [[Nothing]]
|r1= [[Nothing]]
 
|x1= <code>'''deleteMarkerLocal''' "Marker1"</code>
|seealso= [[createMarkerLocal]], [[deleteMarker]]
}}


{{GameCategory|ofpe|Scripting Commands}}
|x1= <sqf>deleteMarkerLocal "Marker1";</sqf>
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}


<dl class="command_description">
|seealso= [[createMarkerLocal]] [[deleteMarker]]
}}


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