[Suggestion] Please add the GetShipName (by ID) PRPL function

Started by kajacx, December 30, 2016, 05:12:18 AM

Previous topic - Next topic

kajacx

Please add the GetShipName PRPL function, that would get ship's name by ID. I know we have GetShipNameFromSlot, but I'm working on a map where ships will not be on the panel (and for a good reason), and I need to know their names. A CONST_SHIP_NAME with GetShipAttribute bould be fine as well.
Why do work yourself, when you can write a program that will do the work for you.

GoodMorning

While we're here, could there also be CreateShip from coordinates, plan, loyalty and build state.

And an option to set loyalty to player, enemy and friend.
A narrative is a lightly-marked path to another reality.

kajacx

I have solved the problem with custom modules, however it would be nice to have such function anyway.
And yea, "CreateShip from coordinates and plan" missing is the only reason I have not done the ship merging map yet.
Why do work yourself, when you can write a program that will do the work for you.