HospitalChair
Well-Known Member
Ive added two weapon caches to my server via the 3d editor. They work great on restart then after about 20 minutes they seem to disappear. Anyone have any idea why this may be happening or how i can stop it?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
class cleanup_objects
{
name = "cleanup_objects";
//init = /*%FSM<STATEINIT""">*/"_missionObjs = allMissionObjects ""ReammoBox"";" \n
"//_qty = count _missionObjs;" \n
""// \n
"diag_log (""CLEANUP:TOTAL "" + str(_qty) + "" LOOT BAGS"");" \n
"" \n
"_dateNow = (DateToNumber date);" \n
"_delQty = 0;" \n
"{" \n
if (true) then
{
_this = createVehicle ["CZBasicWeapons_EP1", [6822.0322, 2498.6736, -9.5367432e-007], [], 0, "CAN_COLLIDE"];
_vehicle_2106 = _this;
_this setPos [6822.0322, 2498.6736, -9.5367432e-007];
};
if (true) then
{
_this = createVehicle ["CZBasicWeapons_EP1", [6822.0322, 2498.6736, -9.5367432e-007], [], 0, "CAN_COLLIDE"];
_vehicle_2106 = _this;
_this setPos [6822.0322, 2498.6736, -9.5367432e-007];
_this setVariable ["ObjectID",""];
};
if (true) then
{
_this = createVehicle ["CZBasicWeapons_EP1", [6822.0322, 2498.6736, -9.5367432e-007], [], 0, "CAN_COLLIDE"];
_vehicle_2106 = _this;
_this setPos [6822.0322, 2498.6736, -9.5367432e-007];
};
if (true) then
{
_this = createVehicle ["CZBasicWeapons_EP1", [6822.0322, 2498.6736, -9.5367432e-007], [], 0, "CAN_COLLIDE"];
_vehicle_2106 = _this;
_this setPos [6822.0322, 2498.6736, -9.5367432e-007];
_this setVariable ["permaloot",true];
};