mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Remove local marker
Supporting Make Marker / missions.
This commit is contained in:
parent
951e52521e
commit
a5319499ba
28
Sources/epoch_code/compile/EPOCH_removeMarker.sqf
Normal file
28
Sources/epoch_code/compile/EPOCH_removeMarker.sqf
Normal 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;
|
Loading…
Reference in New Issue
Block a user