OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Peter haroski on 18 Apr 2004, 10:13:32
-
How I can make unit1 fire the bridge in Nogova, example unit1 dofire bridge17662(that is id(maeby) or unit1 dofire id17662, or is there command to destroy the bridge
-
object XXXX setdammage 1.0 will destroy the selected section of the bridge. I don't think AI want to fire at objects so faking it with setdammage is the only thing I can come up with,
:beat: *Gets Shot* :beat:
-
DO I have to write bridges id to that xxxxx
-
Yup. If the desired bridge segment Id is, say, 111111, you need to type:
object 111111 setdammage 1.0
:beat: *Gets Shot* :beat:
-
How about scripting an explosion in there? You put in
obj 1111 setdammage 1 and also include like a camcreate shell125 or something so the bridge doesn't just collapse.