Difference between revisions of "ActorBase Script"
Jump to navigation
Jump to search
m
Formatting Change
imported>CraftySentinel (→SKSE Member Functions: Added Latest SKSE Member Functions.) |
imported>CraftySentinel m (Formatting Change) |
||
Line 19: | Line 19: | ||
== Global Functions == | == Global Functions == | ||
None | None | ||
== Member Functions == | == Member Functions == | ||
{|class="wikitable" width =100% | |||
!style="text-align:left;" width=25%|Function | |||
!style="text-align:left;"|Description | |||
|- | |||
|[[GetClass - ActorBase|Class '''GetClass'''()]] | |||
|Returns this actor's class. | |||
|- | |||
|[[GetDeadCount - ActorBase|Int '''GetDeadCount'''()]] | |||
|Returns the number of actors that have this base that are dead. | |||
|- | |||
|[[GetGiftFilter - ActorBase|FormList '''GetGiftFilter'''()]] | |||
|Returns this actor's formlist of keywords to use as a gift filter. | |||
|- | |||
|[[GetRace - ActorBase|Race '''GetRace'''()]] | |||
|Returns this actor's race. | |||
|- | |||
|[[GetSex - ActorBase|Int '''GetSex'''()]] | |||
|Returns this actor's sex. | |||
|- | |||
|[[IsEssential - ActorBase|Bool '''IsEssential'''()]] | |||
|Returns if this actor is flagged as essential or not. | |||
|- | |||
|[[IsInvulnerable - ActorBase|Bool '''IsInvulnerable'''()]] | |||
|Returns if this actor is flagged as invulnerable or not. | |||
|- | |||
|[[IsProtected - ActorBase|Bool '''IsProtected'''()]] | |||
|Returns if this actor is flagged as protected or not. | |||
|- | |||
|[[IsUnique - ActorBase|Bool '''IsUnique'''()]] | |||
|Returns if this actor is flagged as unique. | |||
|- | |||
|[[SetEssential - ActorBase|'''SetEssential'''(Bool ''abEssential'')]] | |||
|Flags this actor as essential or not. An actor cannot both be protected and essential. | |||
|- | |||
|[[SetInvulnerable - ActorBase|'''SetInvulnerable'''(Bool ''abInvulnerable'')]] | |||
|Flags this actor as invulnerable or not. | |||
|- | |||
''' | |[[SetProtected - ActorBase|'''SetProtected'''(Bool ''abProtected'')]] | ||
|Flags this actor as protected or not. An actor cannot both be protected and essential. | |||
|- | |||
|[[SetOutfit - ActorBase|'''SetOutfit'''(Outfit ''akOutfit'', Bool ''abSleepOutfit'')]] | |||
|Change the default or sleep outfit. Art will be loaded next time this actor is loaded. | |||
|- | |||
|} | |||
== SKSE Member Functions == | == SKSE Member Functions == | ||
''' | {|class="wikitable" width =100% | ||
!style="text-align:left;" width=25%|Function | |||
!style="text-align:left;"|Description | |||
|- | |||
|[[GetCombatStyle - ActorBase|CombatStyle '''GetCombatStyle'''()]] | |||
|Returns the combat style of this actor. | |||
|- | |||
|[[SetCombatStyle - ActorBase|'''SetCombatStyle'''(CombatStyle ''cs'')]] | |||
|Sets the combat style of this actor. | |||
|- | |||
|[[GetOutfit - ActorBase|Outfit '''GetOutfit'''(Bool ''bSleepOutfit'')]] | |||
|Returns the default or sleep outfit of this actor. | |||
|- | |||
|[[SetClass - ActorBase|'''SetClass'''(Class ''c'')]] | |||
|Changes the class of this actor. | |||
|- | |||
|[[GetHeight - ActorBase|Float '''GetHeight'''()]] | |||
|Returns the height of this actor. | |||
|- | |||
|[[SetHeight - ActorBase|'''SetHeight'''(Float ''height'')]] | |||
|Sets the height of this actor to the specified amount. | |||
|- | |||
|[[GetWeight - ActorBase|Float '''GetWeight'''()]] | |||
|Returns the weight of this actor. | |||
|- | |||
|[[SetWeight - ActorBase|'''SetWeight'''(Float ''weight'')]] | |||
|Changes the weight of this actor. | |||
|- | |||
|[[GetNumHeadParts - ActorBase|Int '''GetNumHeadParts'''()]] | |||
|Returns the number of head parts of this actor. | |||
|- | |||
|[[GetNthHeadPart - ActorBase|HeadPart '''GetNthHeadPart'''(Int ''slotPart'')]] | |||
|Returns the specified head part of this actor. | |||
|- | |||
|[[SetNthHeadPart - ActorBase|'''SetNthHeadPart'''(HeadPart ''headPart'', Int ''slotPart'')]] | |||
|Changes the specified head part of this actor. | |||
|- | |||
|[[GetFaceMorph - ActorBase|Float '''GetFaceMorph'''(Int ''index'')]] | |||
| Returns the specified head morph value of this actor. | |||
|- | |||
|[[SetFaceMorph - ActorBase|'''SetFaceMorph'''(Float ''value'', Int ''index'')]] | |||
| Changes the specified face morph value of this actor. | |||
|- | |||
|[[GetFacePreset - ActorBase|Int '''GetFacePreset'''(Int ''index'')]] | |||
|Returns the face preset of this actor. | |||
|- | |||
|[[SetFacePreset - ActorBase|'''SetFacePreset'''(Int ''value'', Int ''index'')]] | |||
|Changes the face preset of this actor. | |||
|- | |||
|[[GetHairColor - ActorBase|ColorForm '''GetHairColor'''()]] | |||
|Returns the ColorForm of this actor's hair. | |||
|- | |||
|[[SetHairColor - ActorBase|'''SetHairColor'''(ColorForm ''color'')]] | |||
|Changes the ColorForm of this actor's hair. | |||
|- | |||
|[[GetSpellCount - ActorBase|Int '''GetSpellCount'''()]] | |||
|Returns the number of spells defined in the base actor form. | |||
|- | |||
|[[GetNthSpell - ActorBase|Spell '''GetNthSpell'''(Int ''n'')]] | |||
|Returns the specified spell defined in the base actor form. | |||
|- | |||
|[[GetFaceTextureSet - ActorBase|TextureSet '''GetFaceTextureSet'''()]] | |||
|Returns the face TextureSet of the actor. | |||
|- | |||
|[[SetFaceTextureSet - ActorBase|'''SetFaceTextureSet'''(TextureSet ''textures'')]] | |||
|Sets the face TextureSet of the actor. | |||
|- | |||
|[[GetVoiceType - ActorBase|VoiceType '''GetVoiceType'''()]] | |||
|Returns the Actor's voicetype. | |||
|- | |||
|[[SetVoiceType - ActorBase|'''SetVoiceType'''(VoiceType ''nVoice'')]] | |||
|Sets the Actor's voicetype. | |||
|- | |||
|[[GetSkin - ActorBase|Armor '''GetSkin'''()]] | |||
|Returns the skin of the actorbase. | |||
|- | |||
|[[SetSkin - ActorBase|'''SetSkin'''(Armor ''skin'')]] | |||
|Sets the skin of the actorbase. | |||
|- | |||
|[[GetSkinFar - ActorBase|Armor '''GetSkinFar'''()]] | |||
|Returns the far away skin of the actorbase. | |||
|- | |||
|[[SetSkinFar - ActorBase|'''SetSkinFar'''(Armor ''skin'')]] | |||
|Sets the far away skin of the actorbase. | |||
|- | |||
|[[GetTemplate - ActorBase|ActorBase '''GetTemplate'''()]] | |||
|Returns the root template of the actorbase. | |||
|- | |||
|} | |||
== Events == | == Events == | ||
None | None |