Bandit Marker

Can't really sleep so decided to try this. Working with the code posted above it should be something like
Code:
_banditCount = {(isPlayer _x) && ((_x getVariable ["humanity",0]) < 0)};
 
if (_banditCount) then {
    isBandit = true;
} else {
    isBandit = false;
};
    
if (isBandit) then {
createSpot = true;
} else {
createSpot = false;
};
    
if (createSpot) then {
_this = createMarker ["Bandit", [getPosAtl player]];
_this setMarkerText "Bandit";
_this setMarkerShape "ELLIPSE";
_this setMarkerType "Flag";
_this setMarkerColor "ColorRed";
_this setMarkerBrush "Solid";
_this setMarkerSize [100, 100];
_marker_0 = _this;
};

Not sure if any of this will work, it's just a theory. Not even sure if the markers will show up at all, anywhere.
 
Back
Top