Jump to content
Sign in to follow this  
cpdh

make ai specifically target the gunner of a humvee

Recommended Posts

ok I'm really new to this forum so sorry if this is in the wrong place

How could i get an OPFOR unit called unit1 to target, shoot and kill just the gunner of a BLUFOR humvee called car1 as the humvee goes past???

(like black hawk down where the gunner sgt Dominic Pilla is killed)

really stuck as to this :butbut:

Thanks in advance :D

Edited by cpdh
trying to make things clearer :)

Share this post


Link to post
Share on other sites

Maybe put in empty car 2 soldiers with names sol1 as driver and sol2 as gunner. First add to driver setcaptive true, after this wenn Opfor unit1 will see car he should shot only to gunner. Later you can change setcaptive to false. Also you can use in script commands: dotarget and dofire for unit1 and sol1 (check here on forum or on bi wiki how they work).

Share this post


Link to post
Share on other sites

How can I then add a waypoint so the Hummvee drives down a road, I tried adding it to sol1 (who has moveindriver) but nothing seems to happen

by the way thanks for the quick reply :)

EDIT: also the unit1 (who is quite far away but has sniper rifle) just stands there :(

I tried being the sniper and even though I used dofire dotarget and reveal, nothing shows up O_o

really annoying!!

Edited by cpdh
add edit

Share this post


Link to post
Share on other sites

Driver should ride wenn you add waypoints: do you use only moveindriver or also first assignasdriver. And for gunner assignasgunner. About unit1 dont shot maybe do more tests, put him closer and check if he shot then.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×