diff --git a/addons/arsenal/missions/Arsenal.VR/initPlayerLocal.sqf b/addons/arsenal/missions/Arsenal.VR/initPlayerLocal.sqf index 28e19bba478..c998106863a 100644 --- a/addons/arsenal/missions/Arsenal.VR/initPlayerLocal.sqf +++ b/addons/arsenal/missions/Arsenal.VR/initPlayerLocal.sqf @@ -137,7 +137,7 @@ for "_i" from 5 to 11 do { private _square = createVehicle ["VR_Area_01_square_1x1_grey_F", position _unit, [], 0, "NONE"]; _square setPosASL getPosASL _unit; -private _marker = createMarker [QGVAR(start), getPosWorld _unit]; +private _marker = createMarkerLocal [QGVAR(start), getPosWorld _unit]; _marker setMarkerType "mil_start"; // Init Arsenal @@ -165,8 +165,8 @@ _unit addEventHandler ["AnimChanged", { private _markers = []; { - private _marker = createMarker [vehicleVarName _x, position _x]; - _marker setMarkerType "mil_dot"; + private _marker = createMarkerLocal [vehicleVarName _x, position _x]; + _marker setMarkerTypeLocal "mil_dot"; _marker setMarkerColor "ColorOrange"; _markers pushBack _marker; diff --git a/addons/zeus/functions/fnc_ui_searchArea.sqf b/addons/zeus/functions/fnc_ui_searchArea.sqf index 6268cd7d223..8b03014a169 100644 --- a/addons/zeus/functions/fnc_ui_searchArea.sqf +++ b/addons/zeus/functions/fnc_ui_searchArea.sqf @@ -67,9 +67,9 @@ private _fnc_onConfirm = { private _position = getPos _logic; private _marker = QGVAR(ModuleSearchArea) + str _unit; - createMarker [_marker, _position]; - _marker setMarkerAlpha 0; - _marker setMarkerShape "ELLIPSE"; + createMarkerLocal [_marker, _position]; + _marker setMarkerAlphaLocal 0; + _marker setMarkerShapeLocal "ELLIPSE"; _marker setMarkerSize [_radius, _radius]; [QGVAR(moduleSearchArea), [_unit, _marker], _unit] call CBA_fnc_targetEvent;