Remove local marker

Supporting Make Marker / missions.
This commit is contained in:
Andrew Gregory 2016-06-18 16:38:24 +01:00 committed by GitHub
parent 951e52521e
commit a5319499ba

View File

@ -0,0 +1,28 @@
/*
Author: Andrew Gregory - EpochMod.com
Contributors:
Description:
Create a local marker, with options.
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_removeMarker.sqf
Example:
["markerName"] call EPOCH_removeMarker.sqf
Parameter(s):
_this select 0: STRING - Marker Name
Returns:
*/
_paramres = params [["_mName",""]];
diag_log format["Epoch: ADMIN: Removing marker %1.", _mName];
if(_mName == "")exitWith{};
deleteMarkerLocal _mName;