dlegion 98 Posted July 24, 2017 same for me. a player distance check is pretty essential :) anyway thanks for that good work ! Share this post Link to post Share on other sites
sarogahtyp 1108 Posted July 24, 2017 I think davidoss gave u the tools. just use em: this setVariable ["dnt_remove_me",true,false]; Share this post Link to post Share on other sites
dlegion 98 Posted July 24, 2017 sry...please help me understand... that cant be directly used to players distance...right? and sadly i'm not good enought to put hands on Davidoss script :( Share this post Link to post Share on other sites
davidoss 552 Posted January 3, 2018 Update: 03.01.2018 Version 1.3 Changed usage to more user friendly way see first post Added player in area check 2 Share this post Link to post Share on other sites
Guest Posted January 4, 2018 The Armaholic mirror has been updated with the new version: CleanUp script v1.3 Share this post Link to post Share on other sites
LifeSnatcher 2 Posted January 15, 2018 Hi, Im using this script for the first time today and it sounds awesome and perfect however, Its not working for me. Im trying to use it in my base only and i put my items on the ground and walked away. i waited and nothing happened. im using a marker that is 200 x 300. here is the code in my init file. i get no errors and no message about not being server, so i assume its running. i put a first aid kit down and a couple of mags. i want it to be 1 meter that a player is away so that it cleans up the items at the arsenal, should a player drop stuff on the ground. if (isServer) then { fnc_cleanup = compileFinal preprocessFileLineNumbers "scripts\cleanup.sqf"; null = [ "mb_marker_13", ((getMarkerSize "mb_marker_13") call BIS_fnc_greatestNum), 1, 0.8, true, 60 ] spawn fnc_cleanup; }; Share this post Link to post Share on other sites
davidoss 552 Posted January 15, 2018 Sorry, my bad :-(( Unfortunately i make a mistake and released function ready version. You need to remove 1 line and 114 line making it to a simple script 1. fnc_CleanUp = { 114. }; or copy paste it from the 1 post or change the init like this: if (isServer) then { [] call compile preprocessFileLineNumbers "scripts\cleanup.sqf"; null = [ "mb_marker_13", ((getMarkerSize "mb_marker_13") call BIS_fnc_greatestNum), 1, 0.8, true, 60 ] spawn fnc_CleanUp; }; Share this post Link to post Share on other sites
davidoss 552 Posted January 15, 2018 UPDATE fixed: released function instead script https://drive.google.com/file/d/1Ex85BSrA77ptd7KosJz_ALFtwdAO1CsO/view?usp=sharing Share this post Link to post Share on other sites
LifeSnatcher 2 Posted January 15, 2018 Still not working. downloaded the new version and still using the same code i sent in the init file. any thoughts? Share this post Link to post Share on other sites
davidoss 552 Posted January 15, 2018 Check twice :-) Works for me with your call Share this post Link to post Share on other sites
LifeSnatcher 2 Posted January 16, 2018 yup, thank you so much, awesome work mate. really great script, hell of a job. Share this post Link to post Share on other sites
Guest Posted January 16, 2018 The Armaholic mirror has been updated with the new version: CleanUp script v1.3.1 Share this post Link to post Share on other sites
burnov 10 Posted May 20, 2018 It's been a while since I've dabbled in Arma scripting, but it seems like there's a way for this script to work via a trigger set to a radio call. I'm not really familiar with how creating functions work, I just know of the ones you can access via the editor. Is there a pretty simple way to set this up so that it doesn't run on a timer but to work the way described above? Share this post Link to post Share on other sites
rainbow47 20 Posted April 20, 2023 Does anyone have a working download link for this script? Share this post Link to post Share on other sites
Janez 531 Posted April 20, 2023 11 minutes ago, rainbow47 said: Does anyone have a working download link for this script? Code in cleanup.sqf spoiler wrap and using one of the init.sqf examples from OP should still work, no? Share this post Link to post Share on other sites