ZZEZ 10 Posted February 27, 2011 Hey Is there a way to clear certain section of the map[or even the entire map] from trees/rocks from within the mission?I searched but didn't find an answer Share this post Link to post Share on other sites
Two Dogs 10 Posted February 27, 2011 As far as I know, there is no way to eliminate map items. If this is wrong then please let the cat out of the bag. Share this post Link to post Share on other sites
PELHAM 10 Posted February 27, 2011 (edited) In the editor under - 'empty' - 'objects' - you will find something called grasscutter in 3 different sizes. That removes the grass and low scrub from areas but I don't think it does rocks or trees? That's as close as I have got to removing stuff that is placed in the map by default. I did see a post titled treefeller here recently but don't know if they had written one or were looking for one! Edited February 28, 2011 by PELHAM Share this post Link to post Share on other sites
AZCoder 675 Posted February 27, 2011 @Pelham - that's funny, all this time I didn't know about the grasscutters. Thanks! I can confirm it removes grass, but it's leaving trees and bushes (on Zargabad map). Share this post Link to post Share on other sites
Nielsen 10 Posted February 28, 2011 If the grasscutters wont cut it for you, could'nt you just put a logic and get nearObjects and delete them.. Like: _objects = getPos Logic1 nearObjects 50;{deleteVehicle _x;} forEach _objects; Of course that would remove roads and houses too, but in some situations it might do the trick. Share this post Link to post Share on other sites
PELHAM 10 Posted February 28, 2011 If the grasscutters wont cut it for you, could'nt you just put a logic and get nearObjects and delete them..Like: _objects = getPos Logic1 nearObjects 50; {deleteVehicle _x;} forEach _objects; Of course that would remove roads and houses too, but in some situations it might do the trick. Just tested that in the OnAct of a waypoint and a trigger and in an init - it didn't work? Share this post Link to post Share on other sites
.kju 3105 Posted February 28, 2011 You cannot deleteVehicle world objects. _x setDamage 1; may work for some - hideObject _x; might be worth a try too. Share this post Link to post Share on other sites
ZZEZ 10 Posted February 28, 2011 I tested deletevehicle/setdamage/hideobject, no cigar sadly :( Share this post Link to post Share on other sites
Bon 12 Posted February 28, 2011 Does nearobjects or nearestobjects return world objects like rocks and trees in the first place? I highly doubt it. Share this post Link to post Share on other sites
ZZEZ 10 Posted February 28, 2011 I know it works for some objects but not all, with setdamage it will destroy some houses but not all Share this post Link to post Share on other sites
AZCoder 675 Posted February 28, 2011 The method I have been using requires the ID tag on the map. Zoom in and click IDs. Position gameLogicName nearetObject ID_on_map; Then I just setDamage 1 on the returned object. Don't think delete worked, haven't tried hideObject. Share this post Link to post Share on other sites