/* * Author: Glowbal * Adds an object to curator upon spawn * * Arguments: * Object * * Return Value: * None * * Public: No */ #include "script_component.hpp" if (!isServer) exitWith {}; params ["_object"]; if (!(_object getVariable [QGVAR(addObject), GVAR(autoAddObjects)])) exitWith {}; { _x addCuratorEditableObjects [[_object], true]; }forEach allCurators;