celery 8 Posted October 27, 2007 I need to destroy absolutely every object in a given radius but only buildings and units get blasted. Below is the script I'm using. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_select=0 everything=getpos light nearobjects 50 _maxcount=count everything #damage (everything select _select) setdammage 1 _select=_select+1 ?_select<_maxcount:goto "damage" I want nothing to stay intact, not even billboards or trees. Normally they fall when they get shot but setdammage doesn't seem to have any effect on them. How can I wreck those objects without using conventional explosives? Share this post Link to post Share on other sites
vova _fox 0 Posted October 27, 2007 it because treeas and billboards aren't find by nearobjects command (and by nearestobjects and another..etc ) in ofp you can find trees by nearestobject command in arma - not Share this post Link to post Share on other sites
celery 8 Posted October 27, 2007 it because treeas and billboards aren't find by nearobjects command (and by nearestobjects and another..etc )in ofp you can find trees by nearestobject command in arma - not But how to destroy them? Share this post Link to post Share on other sites
.kju 3245 Posted October 27, 2007 Create bombs near em. Share this post Link to post Share on other sites
celery 8 Posted October 27, 2007 Create bombs near em. Bombs aren't possible for my purposes. Share this post Link to post Share on other sites
vova _fox 0 Posted October 28, 2007 Create bombs near em. Bombs aren't possible for my purposes. only bombs or other ammo (maybe many bullets ?...) Share this post Link to post Share on other sites
Master85 1 Posted October 28, 2007 I used a for-loop and "nearestobject ID", so I managed to destroy trees and walls, but this method isn't really accurate. Master85 Share this post Link to post Share on other sites