ACE3/addons/frag/functions/fnc_dev_clearTraces.sqf
lambdatiger 6e209ba4f0
slight performance increase using forEach loops
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-01-15 17:54:22 -06:00

25 lines
389 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: Lambda.Tiger
* Clears all dev spheres and traces
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* call ace_frag_fnc_dev_clearTraces;
*
* Public: No
*/
{
deleteVehicle _x;
} forEach GVAR(dev_eventSpheres);
GVAR(dev_eventSpheres) = [];
GVAR(dev_trackLines) = createHashMap;
GVAR(dev_hitBoxes) = createHashMap;