Class ActorBaseScript
- Namespace
- SkyrimForge.Papyrus
- Assembly
- SkyrimForge.Game.dll
Functions and comments from ActorBase.psc.
public static class ActorBaseScript
- Inheritance
-
ActorBaseScript
- Inherited Members
Properties
Dispatcher
The dispatcher that binds this script to a form and calls the functions and properties that have no generated member.
public static PapyrusScriptDispatcher Dispatcher { get; }
Property Value
Methods
GetClass(PapyrusScript<ActorBase>)
Returns this actor's class
public static Task<Class?> GetClass(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetCombatStyle(PapyrusScript<ActorBase>)
public static Task<CombatStyle?> GetCombatStyle(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetDeadCount(PapyrusScript<ActorBase>)
Gets the number of actors of this type that have been killed
public static Task<int> GetDeadCount(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetFaceMorph(PapyrusScript<ActorBase>, int)
public static Task<float> GetFaceMorph(this PapyrusScript<ActorBase> self, int index)
Parameters
selfPapyrusScript<ActorBase>indexint
Returns
GetFacePreset(PapyrusScript<ActorBase>, int)
public static Task<int> GetFacePreset(this PapyrusScript<ActorBase> self, int index)
Parameters
selfPapyrusScript<ActorBase>indexint
Returns
GetFaceTextureSet(PapyrusScript<ActorBase>)
public static Task<TextureSet?> GetFaceTextureSet(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetGiftFilter(PapyrusScript<ActorBase>)
Returns this actor's gift filter formlist
public static Task<FormList?> GetGiftFilter(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetHairColor(PapyrusScript<ActorBase>)
public static Task<ColorForm?> GetHairColor(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetHeight(PapyrusScript<ActorBase>)
[Obsolete("Uses the Papyrus virtual machine. Prefer ActorBase.GetHeight().", DiagnosticId = "SKYRIMFORGE0002")]
public static Task<float> GetHeight(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetIndexOfHeadPartByType(PapyrusScript<ActorBase>, int)
public static Task<int> GetIndexOfHeadPartByType(this PapyrusScript<ActorBase> self, int type)
Parameters
selfPapyrusScript<ActorBase>typeint
Returns
GetIndexOfOverlayHeadPartByType(PapyrusScript<ActorBase>, int)
public static Task<int> GetIndexOfOverlayHeadPartByType(this PapyrusScript<ActorBase> self, int type)
Parameters
selfPapyrusScript<ActorBase>typeint
Returns
GetNthHeadPart(PapyrusScript<ActorBase>, int)
public static Task<HeadPart?> GetNthHeadPart(this PapyrusScript<ActorBase> self, int slotPart)
Parameters
selfPapyrusScript<ActorBase>slotPartint
Returns
GetNthOverlayHeadPart(PapyrusScript<ActorBase>, int)
public static Task<HeadPart?> GetNthOverlayHeadPart(this PapyrusScript<ActorBase> self, int slotPart)
Parameters
selfPapyrusScript<ActorBase>slotPartint
Returns
GetNthSpell(PapyrusScript<ActorBase>, int)
returns the specified spell defined in the base actor form
public static Task<Spell?> GetNthSpell(this PapyrusScript<ActorBase> self, int n)
Parameters
selfPapyrusScript<ActorBase>nint
Returns
GetNumHeadParts(PapyrusScript<ActorBase>)
public static Task<int> GetNumHeadParts(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetNumOverlayHeadParts(PapyrusScript<ActorBase>)
[Obsolete("Uses the Papyrus virtual machine. Prefer ActorBase.GetNumBaseOverlays().", DiagnosticId = "SKYRIMFORGE0002")]
public static Task<int> GetNumOverlayHeadParts(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetOutfit(PapyrusScript<ActorBase>, bool)
Get the Outfit of the actor
public static Task<Outfit?> GetOutfit(this PapyrusScript<ActorBase> self, bool bSleepOutfit = false)
Parameters
selfPapyrusScript<ActorBase>bSleepOutfitbool
Returns
GetRace(PapyrusScript<ActorBase>)
Returns this actor's race
[Obsolete("Uses the Papyrus virtual machine. Prefer ActorBase.GetRace().", DiagnosticId = "SKYRIMFORGE0002")]
public static Task<Race?> GetRace(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetSex(PapyrusScript<ActorBase>)
Returns this actor's sex. Values for sex are: -1 - None 0 - Male 1 - Female
public static Task<int> GetSex(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetSkin(PapyrusScript<ActorBase>)
public static Task<Armor?> GetSkin(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetSkinFar(PapyrusScript<ActorBase>)
public static Task<Armor?> GetSkinFar(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetSpellCount(PapyrusScript<ActorBase>)
returns the number of spells defined in the base actor form
public static Task<int> GetSpellCount(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetTemplate(PapyrusScript<ActorBase>)
Gets the root template of the ActorBase
public static Task<ActorBase?> GetTemplate(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetVoiceType(PapyrusScript<ActorBase>)
public static Task<VoiceType?> GetVoiceType(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
GetWeight(ActorBase)
public static Task<float> GetWeight(ActorBase self)
Parameters
selfActorBase
Returns
IsEssential(PapyrusScript<ActorBase>)
Is this actor essential?
public static Task<bool> IsEssential(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
IsInvulnerable(PapyrusScript<ActorBase>)
Is this actor invulnerable?
public static Task<bool> IsInvulnerable(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
IsProtected(PapyrusScript<ActorBase>)
Is this actor protected (can only be killed by player)?
public static Task<bool> IsProtected(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
IsUnique(PapyrusScript<ActorBase>)
Is this actor base unique?
public static Task<bool> IsUnique(this PapyrusScript<ActorBase> self)
Parameters
selfPapyrusScript<ActorBase>
Returns
SetClass(PapyrusScript<ActorBase>, Class)
set the Class of the actor
public static Task SetClass(this PapyrusScript<ActorBase> self, Class c)
Parameters
selfPapyrusScript<ActorBase>cClass
Returns
SetCombatStyle(PapyrusScript<ActorBase>, CombatStyle)
public static Task SetCombatStyle(this PapyrusScript<ActorBase> self, CombatStyle cs)
Parameters
selfPapyrusScript<ActorBase>csCombatStyle
Returns
SetEssential(PapyrusScript<ActorBase>, bool)
Sets this actor as essential or not - if set as essential, will UNSET protected
[Obsolete("Uses the Papyrus virtual machine. Prefer ActorBase.SetEssential(bool).", DiagnosticId = "SKYRIMFORGE0002")]
public static Task SetEssential(this PapyrusScript<ActorBase> self, bool abEssential = true)
Parameters
selfPapyrusScript<ActorBase>abEssentialbool
Returns
SetFaceMorph(PapyrusScript<ActorBase>, float, int)
public static Task SetFaceMorph(this PapyrusScript<ActorBase> self, float value, int index)
Parameters
selfPapyrusScript<ActorBase>valuefloatindexint
Returns
SetFacePreset(PapyrusScript<ActorBase>, int, int)
public static Task SetFacePreset(this PapyrusScript<ActorBase> self, int value, int index)
Parameters
selfPapyrusScript<ActorBase>valueintindexint
Returns
SetFaceTextureSet(PapyrusScript<ActorBase>, TextureSet)
public static Task SetFaceTextureSet(this PapyrusScript<ActorBase> self, TextureSet textures)
Parameters
selfPapyrusScript<ActorBase>texturesTextureSet
Returns
SetHairColor(PapyrusScript<ActorBase>, ColorForm)
public static Task SetHairColor(this PapyrusScript<ActorBase> self, ColorForm color)
Parameters
selfPapyrusScript<ActorBase>colorColorForm
Returns
SetHeight(PapyrusScript<ActorBase>, float)
public static Task SetHeight(this PapyrusScript<ActorBase> self, float height)
Parameters
selfPapyrusScript<ActorBase>heightfloat
Returns
SetInvulnerable(PapyrusScript<ActorBase>, bool)
Sets this actor as invulnerable or not
[Obsolete("Uses the Papyrus virtual machine. Prefer ActorBase.SetInvulnerable(bool).", DiagnosticId = "SKYRIMFORGE0002")]
public static Task SetInvulnerable(this PapyrusScript<ActorBase> self, bool abInvulnerable = true)
Parameters
selfPapyrusScript<ActorBase>abInvulnerablebool
Returns
SetNthHeadPart(PapyrusScript<ActorBase>, HeadPart, int)
public static Task SetNthHeadPart(this PapyrusScript<ActorBase> self, HeadPart headPart, int slotPart)
Parameters
selfPapyrusScript<ActorBase>headPartHeadPartslotPartint
Returns
SetOutfit(PapyrusScript<ActorBase>, Outfit, bool)
Sets the actors outfit
public static Task SetOutfit(this PapyrusScript<ActorBase> self, Outfit akOutfit, bool abSleepOutfit = false)
Parameters
selfPapyrusScript<ActorBase>akOutfitOutfitabSleepOutfitbool
Returns
SetProtected(PapyrusScript<ActorBase>, bool)
Sets this actor as protected or not - if set as protected, will UNSET essential
[Obsolete("Uses the Papyrus virtual machine. Prefer ActorBase.SetProtected(bool).", DiagnosticId = "SKYRIMFORGE0002")]
public static Task SetProtected(this PapyrusScript<ActorBase> self, bool abProtected = true)
Parameters
selfPapyrusScript<ActorBase>abProtectedbool
Returns
SetSkin(PapyrusScript<ActorBase>, Armor)
public static Task SetSkin(this PapyrusScript<ActorBase> self, Armor skin)
Parameters
selfPapyrusScript<ActorBase>skinArmor
Returns
SetSkinFar(PapyrusScript<ActorBase>, Armor)
public static Task SetSkinFar(this PapyrusScript<ActorBase> self, Armor skin)
Parameters
selfPapyrusScript<ActorBase>skinArmor
Returns
SetVoiceType(PapyrusScript<ActorBase>, VoiceType)
public static Task SetVoiceType(this PapyrusScript<ActorBase> self, VoiceType nVoice)
Parameters
selfPapyrusScript<ActorBase>nVoiceVoiceType
Returns
SetWeight(ActorBase, float)
public static Task SetWeight(ActorBase self, float weight)