Epoch/Sources/epoch_code/compile/EPOCH_removeMarker.sqf

29 lines
640 B
Plaintext
Raw Normal View History

/*
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:
2016-07-04 19:32:57 +00:00
["markerName"] call EPOCH_removeMarker
Parameter(s):
_this select 0: STRING - Marker Name
Returns:
*/
2016-09-01 00:29:08 +00:00
params [["_mName",""]];
diag_log format["Epoch: ADMIN: Removing marker %1.", _mName];
if(_mName == "")exitWith{};
deleteMarkerLocal _mName;