Would it not be possible for the existing method with no arguments, to add to the first free bay, but when called with an argument (a number) to fill that slot instead?Micha wrote:As for your Missile Rack, I guess a way to do that would be to allow an OXP to add equipment-bay equipment into a specific bay (ie, JS modification). This way you could retrieve your MR bay number before firing, remove the MR, modify it, and re-add it to the bay you saved. Specifying a bay which already contains an item could either fail, or automatically select the next empty one. This should be a new method, the old one would continue to just fill the first free bay.
Missile pylon management
Moderators: winston, another_commander
-
- ---- E L I T E ----
- Posts: 389
- Joined: Sat Sep 26, 2009 2:14 pm
- Location: Christchurch, New Zealand
A trumble a day keeps the doctor away, and the tax man;
even the Grim Reaper keeps his distance.
-- Paul Wilkins
even the Grim Reaper keeps his distance.
-- Paul Wilkins
Oops, sorry Thargoid, I've been thinking about thargons lately. The captured thargons icon to be precise...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)