Jump to content
Sign in to follow this  
Wiki

AI use laser designator

Recommended Posts

hi.

I'm creating a mission in which the player is an aircraft pilot.

however, I can't get the AI to use the laser designator to mark targets.

e.g:

-3 tanks

-player in A-10

-AI with laser designator

-I want AI to mark tank 1

-then player lock tank 1 and drop bomb

-when tank 1 is destroyed, AI mark tnak 2

-when tank 2 is destroyed, AI mark tank 3

how can I have it work?

thanks

Share this post


Link to post
Share on other sites

Not very good at this, but a rough idea that popped in my head would be.

doTarget & doFire on a tank, doFire *should* get the laser to fire. Only give the AI a laser designator, and than do selectWeapon. Far as making this repeat, probably could do triggers, and !alive checks for different units to paint.

Pardon me for something you probably know, but my knowledge with something like this is pretty limited. I am sure some more experienced people can chime in with a better way/script.

-cheers

Share this post


Link to post
Share on other sites

Hi Wiki,

I have a script which do that, if you are interesting in, contact me on ofrp website, as usual.

See you !

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  

×