RazorX 10 Posted August 18, 2010 (edited) I've noticed that there is a rock lying on one of the roads in Chernogorsk. Is there a way to delete it by scripting (at least before a patch will correct it)? The AI always smashes into it. Tried setDamage and hideObject but nothing works. Edited August 18, 2010 by RazorX Share this post Link to post Share on other sites
dale0404 5 Posted August 18, 2010 Doubt there is mate, go a different route if I was you! ---------- Post added at 10:33 AM ---------- Previous post was at 10:22 AM ---------- Just read about the Icarus project so my answer doesnt really help... :p Share this post Link to post Share on other sites
Jelliz 10 Posted August 18, 2010 place a gamelogic called stupidrock near the rock. Paste the following in the init.sqf: rock = position stupidrock nearestObject 974968; rock hideobject true; Share this post Link to post Share on other sites
RazorX 10 Posted August 18, 2010 (edited) hideObject does not work. Works perfectly with buildings, lamp posts etc or other units but rocks seem to be untouchable ArmA2 1.07 @ACE (full) @JTD (fire and smoke) but tested with no mods too - same thing Edited August 18, 2010 by RazorX Share this post Link to post Share on other sites
Jelliz 10 Posted August 18, 2010 weird, ive had it working before while deleting all the ruins and clutter in Kumyrna and replacing them with intact buildings. Are you on the latest Arma 2 beta? Share this post Link to post Share on other sites
Funkman 10 Posted August 18, 2010 Impressive project you are working on, I hope it turns out well. Afraid that I cant help you with the rock. Share this post Link to post Share on other sites
RazorX 10 Posted August 18, 2010 (edited) weird, ive had it working before while deleting all the ruins and clutter in Kumyrna and replacing them with intact buildings. Are you on the latest Arma 2 beta? Ruins belong to "Building" class. I couldn't find any "rock" class anywhere. Maybe that's the point. I used rocks = nearestObjects [getmarkerpos "mark2", [], 4]; {hideObject _x} forEach rocks; Because rocks don't have classes, I thought this would work, still no good I also noticed that when @ACE is running, hideObject used on building will hide the model (can walk through the building like there was nothing there) but the texture still exists in the game. Edited August 18, 2010 by RazorX Share this post Link to post Share on other sites
st_dux 26 Posted August 18, 2010 Have your tried deleteEditorObject? I'm honestly not sure what this does exactly, so it might not work, but it's worth a shot. Share this post Link to post Share on other sites
NeoHazard 10 Posted August 18, 2010 this is nuts dude, I just noticed that rock a few days ago when i returned to the chernarus map.... I can't help you in deleting it, but I did find it funny that this thread just popped up. Share this post Link to post Share on other sites
cobra4v320 27 Posted August 18, 2010 Using a gamelogic these dont work either: hideObject (getPos this nearestObject 974968) deletecollection (getPos this nearestObject 974968) Share this post Link to post Share on other sites
W0lle 1052 Posted August 18, 2010 None of these commands work with fixed objects placed on the map. Report it at the CIT and hope for the best. Share this post Link to post Share on other sites