OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: LCD on 10 Aug 2007, 20:07:14

Title: soldier shotin at chopper
Post by: LCD on 10 Aug 2007, 20:07:14
is dere anyway 2 make a soldier shot at choppers w/ his gun ??? i need it 4 a cutscene nd it seems my soldier just hates dat... also i tried 2 put a target in da air and make him fire at it and he refused 2... any suggestions ???

LCD OUT
Title: Re: soldier shotin at chopper
Post by: DarkNova on 11 Aug 2007, 06:15:40

i can't seem to get infantry units to fire at choppers unless its a machine gunner

even with commandfire / dofire they don't shoot at choppers with rifles

but no prob with a PK
Title: Re: soldier shotin at chopper
Post by: Nixer6 on 12 Aug 2007, 18:55:06
not sure LCD, but maybe you could setpos one of those mapfact invis targets on/in the chopper.......

I think they have an infantry one. I know you don't like to use addons though....What does BIS use for targets in the game tutorials???

Nixer waits for the inevitable Mando make anything shoot anything scripts
Title: Re: soldier shotin at chopper
Post by: JasonO on 12 Aug 2007, 19:05:07
so doTarget, doWatch and doFire are already tried and tested and don't work?

Hmm maybe set the helo's ratting to something like -100000 and make the firing units engage at will, in combat mode.
Title: Re: soldier shotin at chopper
Post by: Dash5 on 12 Aug 2007, 21:37:32
Nixer waits for the inevitable Mando make anything shoot anything scripts

 :D Yeah I think this problem requires brute force...weaponDirection and trig functions and all that.
Title: Re: soldier shotin at chopper
Post by: LCD on 12 Aug 2007, 23:49:47
i solved it actualy :P ;)

just setposed a humve on da roof of 1 of da buildings... it seems ArmA soldiers wont shot on objects dat dont stand on somin...

LCD OUT