From 8a2f40c360e4ab0be874fb0c6e27fc38ac42ecb6 Mon Sep 17 00:00:00 2001 From: lambdatiger Date: Sat, 2 Mar 2024 18:00:11 -0600 Subject: [PATCH] Changed sphere size and added return based on usage in dev_trackHitBox --- addons/frag/functions/fnc_dev_sphereDraw.sqf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/frag/functions/fnc_dev_sphereDraw.sqf b/addons/frag/functions/fnc_dev_sphereDraw.sqf index cf9ca7335c..8c3137b647 100644 --- a/addons/frag/functions/fnc_dev_sphereDraw.sqf +++ b/addons/frag/functions/fnc_dev_sphereDraw.sqf @@ -8,7 +8,7 @@ * 1: Color of sphere (default: "blue") * * Return Value: - * None + * The created sphere object * * Example: * [getPosASL player, "red"] call ace_frag_fnc_dev_sphereDraw; @@ -34,6 +34,7 @@ if (_color select [0,1] != "(") then { }; private _colorString = "#(argb,8,8,3)color" + _color; -private _sphere = createVehicle ["Sign_Sphere25cm_F", ASLtoATL _posASL, [], 0, "CAN_COLLIDE"]; +private _sphere = createVehicle ["Sign_Sphere10cm_F", ASLtoATL _posASL, [], 0, "CAN_COLLIDE"]; _sphere setObjectTextureGlobal [0, _colorString]; GVAR(dev_eventSpheres) pushBack _sphere; +_sphere