OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: cirkut5732 on 22 Oct 2005, 22:53:28

Title: setdammage 1 no explosion
Post by: cirkut5732 on 22 Oct 2005, 22:53:28
Hey everyone Im aback again

I have a plane that I want to look destroyed, (supposed to be a plane crash) so I set the dammage to 1 so it is destroyed and will have smoke rising from it,
problem #1 - The explosion sound is heard across almost the whole map
problem #2 - THe smoke from the plane goes out eventually (I can use a trigger with a smokeshell loop  for this i guess)
Title: Re:setdammage 1 no explosion
Post by: penguinman on 22 Oct 2005, 22:56:57
if you dont want an explosion then just set the fuel and ammo to zero in the edit unit menu, to have continuous smoke you can use a smoke script
Title: Re:setdammage 1 no explosion
Post by: The-Architect on 23 Oct 2005, 09:13:51
Click the < arrow on the slider a few times too just in case you didn't get it all the way down when you slid it.

Better still, add this to the init line.

RemoveAllWeapons This; This SetFuel 0