forked from Rukan/Grimy-Skyrim-Papyrus-Source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathActorBase.psc
116 lines (85 loc) · 3.49 KB
/
ActorBase.psc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
Scriptname ActorBase extends Form Hidden
; Returns this actor's class
Class Function GetClass() native
; Gets the number of actors of this type that have been killed
int Function GetDeadCount() native
; Returns this actor's gift filter formlist
FormList Function GetGiftFilter() native
; Returns this actor's race
Race Function GetRace() native
; Returns this actor's sex. Values for sex are:
; -1 - None
; 0 - Male
; 1 - Female
int Function GetSex() native
; Is this actor essential?
bool Function IsEssential() native
; Is this actor invulnerable?
bool Function IsInvulnerable() native
; Is this actor protected (can only be killed by player)?
bool Function IsProtected() native
; Is this actor base unique?
bool Function IsUnique() native
; Sets this actor as essential or not - if set as essential, will UNSET protected
Function SetEssential(bool abEssential = true) native
; Sets this actor as invulnerable or not
Function SetInvulnerable(bool abInvulnerable = true) native
; Sets this actor as protected or not - if set as protected, will UNSET essential
Function SetProtected(bool abProtected = true) native
; Sets the actors outfit
Function SetOutfit( Outfit akOutfit, bool abSleepOutfit = false ) native
; SKSE additions built 2015-05-24 00:46:48.937000 UTC
; get/set the CombatStyle of the actor
CombatStyle Function GetCombatStyle() native
Function SetCombatStyle(CombatStyle cs) native
; Get the Outfit of the actor
Outfit Function GetOutfit(bool bSleepOutfit = false) native
; set the Class of the actor
Function SetClass(Class c) native
; Get/Set the actors body height
float Function GetHeight() native
Function SetHeight(float height) native
; Get/Set the actors body weight
float Function GetWeight() native
Function SetWeight(float weight) native
; Get/Set actors HeadPart by index
int Function GetNumHeadParts() native
HeadPart Function GetNthHeadPart(int slotPart) native
Function SetNthHeadPart(HeadPart headPart, int slotPart) native
int Function GetIndexOfHeadPartByType(int type) native
; These functions are READ-ONLY they are for accessing the
; HeadPart list when the ActorBase's Race has been overlayed
; with another race (e.g. Vampires)
int Function GetNumOverlayHeadParts() native
HeadPart Function GetNthOverlayHeadPart(int slotPart) native
int Function GetIndexOfOverlayHeadPartByType(int type) native
; Get/Set actors face morph value by index
float Function GetFaceMorph(int index) native
Function SetFaceMorph(float value, int index) native
; Get/Set actors facemorph preset by index
; 0 - Nose
; 1 - ??
; 2 - Mouth
; 3 - Eyes
int Function GetFacePreset(int index) native
Function SetFacePreset(int value, int index) native
ColorForm Function GetHairColor() native
Function SetHairColor(ColorForm color) native
; returns the number of spells defined in the base actor form
int Function GetSpellCount() native
; returns the specified spell defined in the base actor form
Spell Function GetNthSpell(int n) native
; returns the face textureset of the actor (Player Only?)
TextureSet Function GetFaceTextureSet() native
Function SetFaceTextureSet(TextureSet textures) native
; Gets/sets the Actor's voicetype
VoiceType Function GetVoiceType() native
Function SetVoiceType(VoiceType nVoice) native
; Gets/sets the skin of the actorbase
Armor Function GetSkin() native
Function SetSkin(Armor skin) native
; Gets/sets the far away skin of the actorbase
Armor Function GetSkinFar() native
Function SetSkinFar(Armor skin) native
; Gets the root template of the ActorBase
ActorBase Function GetTemplate() native