Jump to content
Sign in to follow this  
LardThief

Targetting Onscreen not onMapSingleClick

Recommended Posts

I've got various support scripts available, quite a few run with the onMapSingleClick command.

This is all well and good but, I've been looking for a way to "click on the screen" (whether it be with binoculars or laser designator) and then move a target to the selected position.

I've looked into different commands and searched forums but no one has any answer to this that I can find, any ideas??

Share this post


Link to post
Share on other sites

screenToWorld [0.5,0.5]

That will give you a 3D position array of the spot in the middle of your screen.

Share this post


Link to post
Share on other sites

That functionality is built into the Communications menu and SOM transport stuff. Might wanna pull those scripts apart and see how BIS did it.

Share this post


Link to post
Share on other sites

screenToWorld.....of course!! Nice one for reminding me.

I will also take a look at what BIS have done and see if they got any tricks.

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  

×