OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: GingaWRATH on 15 Jul 2003, 10:21:23

Title: Any 1 know how ta get ammo crates to not Dammage?
Post by: GingaWRATH on 15 Jul 2003, 10:21:23
I'm makin a Co Op And there is respawn along with a flight of choppers that whipe the area clean Dead. Problem is that they blow the crates up to. How do i stop these Suckers from getting any Dammage? :-\
Title: Re:Any 1 know how ta get ammo crates to not Dammage?
Post by: macguba on 15 Jul 2003, 12:47:15
Somewhere, perhaps in a trigger that is fired when the choppers leave the area, just write

crate1 setdammage 0

and so on.     Alternatively run a looping script

#loop
crate1 setdammage 0
~2
goto "loop"
Title: Re:Any 1 know how ta get ammo crates to not Dammage?
Post by: GingaWRATH on 15 Jul 2003, 18:45:24
Mmmm... i think if there is any way of respawning the ammo crates then that would fix it.