MissionDefinitionAPI
api.addEveryFrameCombatPlugin(org.blah.missions.plugins, myMissionScript);
I'm confused. There's already:
MissionDefinitionAPI.addPlugin(EveryFrameCombatPlugin plugin);
Am I missing something here?
On a general note: this thread is turning a bit into "questions about how to do stuff", in part, because some of the stuff being asked for is already possible. This is going to make it much more time-consuming to go through later and figure out what actually needs to be added. If you're not sure whether something can already be done or not, please ask about it in the Modding section first.
It's also not about requesting new features (the Suggestions forum is there for that), but rather about exposing functionality - via the API - that's already in the game. There's some gray area there, of course, but still. If feature suggestions were to go in this thread, it'd be completely unmanageable, and it's going into that territory. A good rule of thumb is that if the core game doesn't already do what you're asking for or something
very close to it, then it doesn't belong here.
CombatFleetManagerAPI.holdTheLine() prevents the enemy AI from calling a retreat. They fight to the death and the very last ship...including ships the are generated from spawnShipOrWing.
For example - absolutely not to single you out personally - this kind of thing definitely belongs in Suggestions and not here.
I'd like to keep this thread clean and focused. Thanks!
