Degrees in decimal.

Take command of air and naval assets from post-WW2 to the near future in tactical and operational scale, complete with historical and hypothetical scenarios and an integrated scenario editor.

Moderator: MOD_Command

Post Reply
User avatar
tjhkkr
Posts: 2431
Joined: Wed Jun 02, 2010 11:15 pm
Contact:

Degrees in decimal.

Post by tjhkkr »

Hello,

I have looked all over the place...
Is there a parameter for the .ini file or some part of the menus that I am missing that allows you to see the latitude and longitude in decimal?

If I can get that information, I will be able to use LUA to randomly place units within a certain area.

Thank you!
Remember that the evil which is now in the world will become yet more powerful, and that it is not evil which conquers evil, but only love -- Olga Romanov.
Tashtego
Posts: 50
Joined: Fri Dec 13, 2013 10:30 am

RE: Degrees in decimal.

Post by Tashtego »

To copy these positions in-game, point to a position on the map, then press Ctrl-X. This copies a string to the clipboard representing the position pointed to on the map, a string that can then be directly used from Lua. This string is in decimal.

This is from An Introduction to LUA in Command.
User avatar
tjhkkr
Posts: 2431
Joined: Wed Jun 02, 2010 11:15 pm
Contact:

RE: Degrees in decimal.

Post by tjhkkr »

I am very sorry. Thank you for taking time to give me something I should have read in the documentation.
Remember that the evil which is now in the world will become yet more powerful, and that it is not evil which conquers evil, but only love -- Olga Romanov.
Tashtego
Posts: 50
Joined: Fri Dec 13, 2013 10:30 am

RE: Degrees in decimal.

Post by Tashtego »

No problem.
Post Reply

Return to “Command: Modern Operations series”