civictor
Chieftain
- Joined
- Jul 7, 2006
- Messages
- 65
I am writing a trade automation mod. What I need is to intercept the UI for when the trade convoy or vessel needs to be assigned a route and write code to automatically assign it a route.
I found the UI code for calculating and selecting trade routes. That is not where I need to hook, though.
Can someone point out what module I should hook to do that? I just do not know the naming convention to pick out the module that handles the unit movement queue or whatever it is.
I found the UI code for calculating and selecting trade routes. That is not where I need to hook, though.
Can someone point out what module I should hook to do that? I just do not know the naming convention to pick out the module that handles the unit movement queue or whatever it is.