tomf Posted March 3, 2016 Share Posted March 3, 2016 I want to know whenever a new vessel was launched and how much it cost. Is onNewVesselCreated the correct game event to subscribe to? Is there an easy way to get the total cost of a vessel? Link to comment Share on other sites More sharing options...
tomf Posted March 6, 2016 Author Share Posted March 6, 2016 I'll anwer my own question in case anyone finds this some time. GameEvents.OnVesselRollout(EventData<ShipConstruct> is the callback I need. And ShipConstruct.GetShipCosts(out dryCost, out fuelCost) provides the costs Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now