Background for Starfield

The ActorBase Script

    The ActorBase 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:

    • 16 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

        • ClassfunctionGetClass()Native

          Obtains this actor's Class.

        • intfunctionGetDeadCount()Native

          Obtains the number of actors using this actor base that are dead.

        • FormListfunctionGetGiftFilter()Native

          Obtains this actor's FormList of keywords to use as a gift filter.

        • RacefunctionGetRace()Native

          Obtains this actor's Race.

        • intfunctionGetLevel()Native

          Obtains this actor's current level.

        • intfunctionGetLevelExact()Native

          Obtains this actor's current level, not taking into account any leveling done to match the player's level.

        • intfunctionGetSex()Native

          Obtains this actor's gender.

        • intfunctionGetPronoun()Native

          Returns this actor's pronoun.
          0 - Unselected
          1 - He_Him
          2 - She_Her
          3 - They_Them

        • voidfunctionDeriveGeneticParentAppearance(ActorBaseakChildSourceToDeriveFrom)Native

          Copy some genetic parent appearance related information from another npc to the calling npc

        • ActorfunctionGetUniqueActor()Native

          Obtains the unique actor reference for this actor base. (Assuming the actor is actually unique)

        • boolfunctionIsEssential()Native

          Obtains whether this actor base is flagged as essential or not.

        • boolfunctionIsProtected()Native

          Obtains whether this actor base is flagged as protected or not.

        • boolfunctionIsUnique()Native

          Obtains whether this actor base is flagged as unique or not.

        • voidfunctionSetEssential(boolabEssential=true)Native

          Sets or clears this actor's essential flag. If the actor is protected and you set the essential flag, the protected flag will be removed.

        • voidfunctionSetProtected(boolabProtected=true)Native

          Sets or clears this actor's protected flag. If you set the flag, and the actor is essential, the essential flag will be cleared.

        • voidfunctionSetOutfit(OutfitakOutfit, boolabSleepOutfit=false)Native

          Change the default or sleep Outfit for this actor base.

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