Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.

$bear


Merik Nanish 1184142
 Share

Recommended Posts

Merik Nanish 1184142
Posted
Posted

In VRC, you can use the $bear function to get the bearing of aircraft A from point B. For instance, if aircraft A is 20 miles south of waypoint B on a bearing of 180, $bear(B) will give you "S" for south.

 

This is suitable for situations were you want to radar identify an aircraft via text. A command like radar contact $dist($1) miles $bear($1) of $1 at $alt will quickly turned into something like "radar contact 22 miles south of JFK at FL220".

 

In EuroScope, $bear gives you the numeric bearing, and in the opposite direction (from aircraft to the point, not from point to aircraft). Therefore, the aforementioned use is not possible.

 

I was wondering if anyone has already found/developed a solution for this. If not, I would try to write a plugin for it. I would also like to ask Gergely to add another function in the next version of ES, that does exactly that, because it is very handy.

NYARTCC Facility Engineer and Instructor

 

255qao8.png

Link to comment
Share on other sites

Gergely Csernak
Posted
Posted

I saved it.

Gergely.

EuroScope developer

Link to comment
Share on other sites

 Share