Jump to content
Sign in to follow this  
Gunnykat

How do I get rid of crater effect where chopper blew up.

Recommended Posts

How do I get rid of the crater effect when something blows up. is this part of Xeon's DomiLiftScript.

Share this post


Link to post
Share on other sites

lol No its ok when that happens, but whats going on is when I shoot AI down the chopper hits all of choppers in the base. and when they respawn there are craters under them.

Share this post


Link to post
Share on other sites

ooh right. Not sure if that's a default thing or something Domi adds. There's probably a way to detect those and delete them, but not sure how if they don't have classnames.

Share this post


Link to post
Share on other sites

well since i was testing a lot of crashes all over takistan, i only found "craterlong", also got a "#crater" when i searched for types, but deleting it made no difference.. maybe its just an particle(fake rubble), as smoke came up same way with a # in front.

was sure there would be an cratershort or whatever, but no.

everything needed is in twirlys link, but here is the core of it.

run this code whenever you want to clear craters from an area.

_list = nearestObjects [(getMarkerPos "base"), ["CraterLong"], 1000];
{deleteVehicle _x} foreach _list;

(getMarkerPos "base") is just a marker named base, lets say at center of your runways.

1000 is the radius from the marker, so it will delete all craters 1000 out in all directions from base marker.

Edited by Demonized

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×