Closed McDiod closed 3 years ago
SQF linter does not recognize 2.02 commands yet:
addons/saveMarkers/functions/fn_createMarkerPreview.sqf
[37,38]:error:can't interpret statement (missing ;?): <Variable(_marker)> <Variable(setMarkerPolylineLocal)> <Variable(_polyline)>
addons/saveMarkers/functions/fn_loadMarkers.sqf
[6,32]:error:can't interpret statement (missing ;?): <Anything(<Anything>)> <Keyword(player)>
[47,33]:error:can't interpret statement (missing ;?): <Variable(_marker)> <Variable(setMarkerPolyline)> <Variable(_polyline)>
[3,8]:warning:Variable "_saveName" not used
[3,20]:warning:Variable "_mapName" not used
addons/saveMarkers/functions/fn_onDraw.sqf
[17,4]:warning:Local variable "_textPos" assigned to an outer scope (not private)
[22,8]:warning:Local variable "_textPos" is not from this scope (not private)
addons/saveMarkers/functions/fn_onMouseButtonDownMap.sqf
[17,4]:warning:Local variable "_halfDeltaX" assigned to an outer scope (not private)
[18,4]:warning:Local variable "_halfDeltaY" assigned to an outer scope (not private)
[20,44]:warning:Local variable "_halfDeltaX" is not from this scope (not private)
[20,71]:warning:Local variable "_halfDeltaY" is not from this scope (not private)
[20,84]:warning:Local variable "_halfDeltaX" is not from this scope (not private)
[20,96]:warning:Local variable "_halfDeltaY" is not from this scope (not private)
addons/saveMarkers/functions/fn_saveMarkers.sqf
[37,22]:error:can't interpret statement (missing ;?): <Variable(markerChannel)> <Variable(_x)>
[38,23]:error:can't interpret statement (missing ;?): <Variable(markerPolyline)> <Variable(_x)>
[44,0]:warning:Local variable "_newSaveID" is not from this scope (not private)
addons/saveMarkers/functions/fn_updateSavesList.sqf
[22,4]:warning:Local variable "_textColor" assigned to an outer scope (not private)
[23,45]:warning:Local variable "_textColor" is not from this scope (not private)
[26,31]:warning:Local variable "_selID" is not from this scope (not private)
Using the commands that were introduced in Arma 2.02, this adds polyline support as well as actual marker channel support to the saveMarkers component. Previously markers were loaded into the correct channel, but lost their owner, making them visible globally regardless of channel.