Jump to content

Functions that go to VAB/KSC


Recommended Posts

Does anybody know what functions get called when you click on the VAB or revert flight to it and to go back to KSC from flight in the escape menu/from buildings/from the main menu? How would I find this information? (Decompile -> grep EditorLogic *.csh?)

It looks to me like an EditorLogic object gets passed to the "change scene to editor" function, which in turn chooses between the VAB and SPH scenes. However, I couldn't find the function itself in the community API.

Edited by beabop
Link to comment
Share on other sites

When you click on the buildings while in the Space Center scene the functions from the relevant SpaceCenterBuilding object are called (left click enters the building if possible, right click opens the upgrade/repair menu).

The SpaceCenterBuilding objects and their methods are actually quite difficult to access.

I'm not sure about reverting to the editor, or going back to the space center scene from flight, but they probably have nothing to do with the SpaceCenterBuilding objects.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...