OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: spawn raper on 14 May 2004, 18:51:38

Title: Force to open fire
Post by: spawn raper on 14 May 2004, 18:51:38
is there a command to force an AI a10 to open fire with his cannon and not target anything?
Title: Re:Force to open fire
Post by: cameronmc on 15 May 2004, 10:47:54
Hey man, I need the same thing as you, different vehicle. To all others, how do I make an M2 fire indiscriminately?

I know for example,

flareman fire ["m203muzzle","flare","flare"]

but I just can't get my M2 to fire! Is it something like

mg fire ["browning","bullet50cal"]

or something?

Please help us!!!
Title: Re:Force to open fire
Post by: cameronmc on 16 May 2004, 00:12:52
Solved my own question!

mg fire ["Browning","Browning"]

As for the other one, would it be like

a10 fire ["cannon30a10","cannon30a10"] ?

Note - this only fires a single shot. You'll need to script it for continous.