Background for Starfield

The MusicType Script

    The MusicType script is a part of Starfield’s Papyrus scripting ecosystem. It is included with the base game.

    For this script, the Papyrus index knows about:

    • 2 functions


    Inheritance Tree

    No indexed scripts extend this script.

    Structs

    The Papyrus Index is still under construction. Structs have not been implemented yet.

      Properties

      No properties found.

        Events

          No events found.

        Functions

        • voidfunctionAdd()Native

          Adds this music type to the music stack, causing it to start playing if it's the highest priority item. If the music type is flagged as "Plays One Selection", it will automatically be removed when it finishes, and a call to MusicType.Remove() will not be required. Otherwise it will play until removed, or until something else is added to the music stack.

        • voidfunctionRemove()Native

          Removes this music type to the music stack, which may change the music playing if it was the highest priority item. Music types that are flagged as "Plays One Selection" do not have to be explicitly removed, as they will go away as soon as they finish playing their piece.

        Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.