I want to make a mod that requires a custom script to be run on my mod part in flight mode, but I cannot find the documentation for the mod APIs; the official tutorial covers little about custom scripts and is a little outdated.

Tags
Question

3 Comments

  • Log in to leave a comment
  • Profile image

    If its the part modifier script you are talking about, it will be automatically added to your part at runtime.

    +1 4.6 years ago
  • Profile image

    I believe ModApi.Scenes.ISceneManager do the job. You can do like if (Game.InFlightScene) thing

    4.7 years ago
  • Profile image
    Dev Pedro

    If you need help and you are interested you can join the Discord modding community

    4.7 years ago

No Upvotes

Log in in to upvote this post.