Jump to content

Recommended Posts

Posted

I'm looking to write a mod that would allow for some improvements to ship control in strategy mode, such as having the ability to order ships to arrange themselves in formation when they move to a new location instead of all trying to occupy the same spot in space.  I'd like if at all possible to just make this a wrapper for existing commands instead of modifying the original scripts; for example, I could edit the commands in craftorders.lua to check if I'm holding say CTRL+F when ordering craft to move to invoke setting the locations for the target location to spots in formation, but I'd rather have a separate file that checks if I'm holding CTRL+F and right-clicking in strategy mode then invokes the command in craftorders.lua.  Is there a function that checks if the player is using strategy mode, or functions that handle actions in strategy mode?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...