Difference between revisions of "HeadPart Script"
Jump to navigation
Jump to search
imported>Plplecuyer |
imported>Qazaaq (Added F4SE member) |
||
Line 2: | Line 2: | ||
[[Category:Papyrus]] | [[Category:Papyrus]] | ||
[[Category:Script Objects]] | [[Category:Script Objects]] | ||
'''Extends:''' [[Form Script]] | '''Extends:''' [[Form Script]] | ||
Line 14: | Line 13: | ||
== Properties == | == Properties == | ||
None | None | ||
== F4SE Properties == | |||
*[[GetType - HeadPart|HeadPart Types]]: Set of read-only properties to essentially make a fake enum for ''HeadPart Types''. | |||
**int Type_Misc: 0 | |||
***The Misc head part type. | |||
**int Type_Face: 1 | |||
***The Face head part type. | |||
**int Type_Eyes: 2 | |||
***The Eyes head part type. | |||
**int Type_Hair: 3 | |||
***The Hair head part type. | |||
**int Type_FacialHair: 4 | |||
***The FacialHair head part type. | |||
**int Type_Scar: 5 | |||
***The Scar head part type. | |||
**int Type_Brows: 6 | |||
***The Brows head part type. | |||
**int Type_HeadRear: 9 | |||
***The HeadRear head part type. | |||
== Global Functions == | == Global Functions == | ||
Line 20: | Line 38: | ||
== Member Functions == | == Member Functions == | ||
None | None | ||
== F4SE Member Functions == | |||
*int Function [[GetType - HeadPart|GetType]]() | |||
**Returns the head part type. | |||
*HeadPart[] Function [[GetExtraParts - HeadPart|GetExtraParts]]() | |||
**Returns an array of all the extra parts to this part. | |||
*bool Function [[HasExtraPart - HasExtraPart|HasExtraPart]](HeadPart part) | |||
**Returns whether this head part has this extra part. | |||
*bool Function [[IsExtraPart - IsExtraPart|IsExtraPart]]() | |||
**Returns whether the head part is an extra part. | |||
*FormList Function [[GetValidRaces - GetValidRaces|GetValidRaces]]() | |||
**Returns a formlist of the valid races for this head part. | |||
*Function [[SetValidRaces - SetValidRaces|SetValidRaces]](FormList vRaces) | |||
**Sets a formlist of the valid races for this head part. | |||
== Events == | == Events == | ||
None | None |
Revision as of 20:52, 19 April 2017
Extends: Form Script
Script for the manipulation of headpart objects.
Definition
ScriptName HeadPart extends Form Native Hidden
Properties
None
F4SE Properties
- HeadPart Types: Set of read-only properties to essentially make a fake enum for HeadPart Types.
- int Type_Misc: 0
- The Misc head part type.
- int Type_Face: 1
- The Face head part type.
- int Type_Eyes: 2
- The Eyes head part type.
- int Type_Hair: 3
- The Hair head part type.
- int Type_FacialHair: 4
- The FacialHair head part type.
- int Type_Scar: 5
- The Scar head part type.
- int Type_Brows: 6
- The Brows head part type.
- int Type_HeadRear: 9
- The HeadRear head part type.
- int Type_Misc: 0
Global Functions
None
Member Functions
None
F4SE Member Functions
- int Function GetType()
- Returns the head part type.
- HeadPart[] Function GetExtraParts()
- Returns an array of all the extra parts to this part.
- bool Function HasExtraPart(HeadPart part)
- Returns whether this head part has this extra part.
- bool Function IsExtraPart()
- Returns whether the head part is an extra part.
- FormList Function GetValidRaces()
- Returns a formlist of the valid races for this head part.
- Function SetValidRaces(FormList vRaces)
- Sets a formlist of the valid races for this head part.
Events
None