Jump to content
Sign in to follow this  
nuxil

Howto Find locked-On Units?

Recommended Posts

Hi..

Does anyone of you know if there is a way to return the unit that has a lockon on it?

i can only see 1 ways to do this..

* 1: "Make|Use" a dummy "weapon/ammo" and using a eventhandler "hit" to check if dummy ammo has hit.

Has anyone a better idea on how it can be done ?

Share this post


Link to post
Share on other sites

Squ33z3

I know about eventhandler.

but thats not the problem..

when i have a lockon "readeye" i want to return the unit that is locked on,, so just putting an eventhandler ther,, means i have to fire the weapon first..

thats not what i wanted..

seams like i need to make a dummy weapon for this.

Share this post


Link to post
Share on other sites

not possible

you need to do a hack/workaround yourself

Share this post


Link to post
Share on other sites

Yeah, your right Q..

i have been at @ the wiki,forums all over the place, googled 50 x times.

only hope seams to be, is to add this to a wishlist for arma!.

But i am working on a hack "Workaround".

so far it looks like i might have a solution for my problem..

Share this post


Link to post
Share on other sites

Maybe you could try the assignedTarget command but, honestly, I doubt it works.

Share this post


Link to post
Share on other sites

Squ33z3 & Boborish.

No and No

Quote[/b] ]

_kv = _soldierOne knowsAbout _jeepOne

Quote[/b] ]

_target = assignedTarget _T72

dont you guys see the problem here?

i dont know who the target is,,

No Commands will return the target thats locked on..

Quote[/b] ]

I might give it ago myself, get back to you if it looks workable in MP.

Dont waste your time on trying to get it to work..

i almost have it woking, with a workaround

Share this post


Link to post
Share on other sites
dont you guys see the problem here?

Did I say "Im sure assignedTarget works" or something like that? No. From the name of the command I assume it returns the target that is set with doTarget / commandTarget or by leader with "X, TARGET/ENGAGE THAT Y" but as I know how is ArmA trustworthy (means that some commands do something different than they should and some commands dont work at all) I gave it a chance it might have the "side effect" of returning the currently locked-on target. It sure is worth a try...

BTW: KnowsAbout is certainly not going to work (not to meant the "know system" in ArmA is Very weird).

Anyway, if you find the workaround, please share it. Im curious if its possible. wink_o.gif

Share this post


Link to post
Share on other sites
Quote[/b] ]

Anyway, if you find the workaround, please share it. Im curious if its possible. wink_o.gif

yes i will share it.. when its done,,

but the problem is that,, its no longer just scripts.

testing in progress..

scannergf4.jpg

By nuxil

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  

×