Background for Skyrim SE

The SPE_Actor Script

    The SPE_Actor script is a part of Skyrim SE’s Papyrus scripting ecosystem. This script is not present in the vanilla game, but can be found in modded sources like Scrab's Papyrus Extender (Scrab's PE).

    For this script, the Papyrus index knows about:

    • 13 functions


    Inheritance Tree

    No indexed scripts extend this script.

    Properties

    No properties found.

      Events

        No events found.

      Functions

      • stringfunctionGetRaceType(ActorakActor)NativeGlobal

        Maps this actor to their corresponding havok behavior class, possible values are:
        Human
        Wolf
        Dog
        Chicken
        Hare
        FlameAtronach
        FrostAtronach
        StormAtronach
        Bear
        Chaurus
        Cow
        Deer
        ChaurusHunter
        Gargoyle
        Lurker
        Boar
        DwarvenBallista
        Seeker
        Netch
        Riekling
        AshHopper
        Dragon
        DragonPriest
        Draugr
        DwarvenSphere
        DwarvenSpider
        DwarvenCenturion
        Falmer
        Spider
        Giant
        Goat
        Hagraven
        Horker
        Horse
        IceWraith
        Mammoth
        Mudcrab
        Sabrecat
        Skeever
        Slaughterfish
        Spriggan
        Troll
        VampireLord
        Werewolf
        Wispmother
        Wisp

      • voidfunctionSetActorCalmed(ActorakActpr, boolabDoCalm)NativeGlobal

        Calm this actor. Calmed actors will ignore ongoing combat and not be attacked by anyone.
        (This behaves similar to Acheron's paficiation, beware however that both systems are indepnendent from another)

      • boolfunctionIsActorCalmed(ActorakActor)NativeGlobal
      • voidfunctionSetActorFrozen(ActorakActor, boolabDoFreeze)NativeGlobal

        Disable an actors collision

      • boolfunctionIsActorFrozen(ActorakActor)NativeGlobal
      • Actor[]functionGetDetectedActors(ActorakActor)NativeGlobal

        Get all actors this actor is currently detecting

      • Actor[]functionGetDetectedBy(ActorakActor)NativeGlobal

        Get all actors that are currently detecting this actor

      • Form[]functionGetWornForms(ActorakActor)NativeGlobal

        Get all currently worn forms, optionally filtered by slot mask
        aiSlotMask: Sum of slot masks to check. An armor is returned if it occupies any of the specified slots
        See Armor.psc or https://ck.uesp.net/wiki/Slot_Masks_-_Armor for a list of masks

      • Armor[]functionGetWornArmor(ActorakActor, intaiSlotMask=0)NativeGlobal
      • Keyword[]functionWornHasKeywords(ActorakActor, Keyword[]akKeywords)NativeGlobal

        Same as WornHasKeyword(), but allows to specify multiple keywords
        The string variant allows to search for substrings in keywords if abMatchPartial is true
        Returns all keywords that are present on any worn form, in case of abMatchPartial = true, returns the first match

      • Keyword[]functionWornHasKeywordStrings(ActorakActor, string[]asKeywords, boolabMatchPartial)NativeGlobal
      • ActorfunctionGetPlayerSpeechTarget()NativeGlobal

        Get the players current dialogue target

      • voidfunctionDismount(ActorakActor)NativeGlobal

        Unmount this actor

      Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.