Fifato 10 Posted June 29, 2014 Hello, so my problem is that I made a mission for my group. One of the objectives was "Destroy enemy AA" and it was pretty needed, because it will trigger friendly helicopters to arrive. The goal was to destroy 3 IGLAs, but we found that they are indestructable. We had many stachel charges (pipebombs) I tryed 1, a big explosion and a hole appeared, but the IGLA totally ignored it. Then I tryed 3 charges, still same result. So I need to somehow destroy that bloddy thing. We ofc killed all people in it, but in real somebody can go there and shoot again. (I know in arma not, I of course didnt make that, but I want it more logic and reallistic - so destroy the IGLA) The reason why I post it in "Scripting" is, that I believe a script can make it destroyed (setDamage 1) So can anybody help me with it? I was thinking about something like that I add something invisible to the IGLA, and if its destroyed (the explosion will destroy it) script will force the IGLA to be destroyed too and it will look like the explosion destroyed the IGLA. Also it doesnt have any destroyed model or texture, so any other ideas how to make this whole objective? I dont want to use any addons. So another idea is to dont destroy it, but delete it completelly, so we will be sure its destroyed. Share this post Link to post Share on other sites
Joe98 92 Posted June 29, 2014 Set the mission at dawn or dusk when the light is poor. Set the trigger that goes "when the satchel charge is dead fire a trigger with a message the IGLA is destroyed" Share this post Link to post Share on other sites
eggbeast 3685 Posted June 29, 2014 you can addeventhandler hit to detect if the weapon was a pipebomb, and if so then setdammage 1; hint "as above"; Share this post Link to post Share on other sites
AZCoder 922 Posted June 29, 2014 Satchels will indeed destroy an Igla. The problem is that the damage model of Igla simply drogs angle of the launch tubes. The model never looks damaged and never goes away. But you can still have a trigger go off when damage == 1 on the Igla. If you want it to go away, you could also add "deleteVehicle iglaName". Share this post Link to post Share on other sites
Fifato 10 Posted June 30, 2014 Nice, thanks for the tip. I tryed to place a trigger, IGLA named "igla" and in the trigger condition: "getDammage igla == 1" and on activation "deleteVehicle igla; hint "Main objective blah blah blah..." And amazingly it worked :) I never used "==" and getAnything and I didnt know its so easy to get it working, so it was more of luck than my experience. Whatever, thanks to all of you :) Share this post Link to post Share on other sites