HeadPart Script: Difference between revisions
Jump to navigation
Jump to search
m
Reverted to List
imported>CraftySentinel (Realised it was global after editing, moved GetHeadPart to global Functions) |
imported>CraftySentinel m (Reverted to List) |
||
| Line 1: | Line 1: | ||
'''Extends:''' [[Form Script]] | '''Extends:''' [[Form Script]] | ||
| Line 25: | Line 19: | ||
== SKSE Global Functions == | == SKSE Global Functions == | ||
:'''HeadPart[[GetHeadPart - HeadPart|GetHeadPart]](String ''name'')''' | |||
:*Returns the HeadPart that has the specified name. | |||
== SKSE Member Functions == | == SKSE Member Functions == | ||
:'''Int [[GetType - HeadPart|GetType]]()''' | |||
:*Returns type of this head part. | |||
:'''Int [[GetNumExtraParts - HeadPart|GetNumExtraParts]]()''' | |||
:*Returns the number of extra head parts this HeadPart has. | |||
:'''HeadPart[[GetNthExtraPart - HeadPart|GetNthExtraPart]](Int ''n'')''' | |||
:*Returns the Nth extra head part of this HeadPart. | |||
:'''Bool [[HasExtraPart - HeadPart|HasExtraPart]](HeadPart ''part'')''' | |||
:*Returns whether this HeadPart has 'part' as an extra part. | |||
:'''Int [[GetIndexOfExtraPart - HeadPart|GetIndexOfExtraPart]](HeadPart ''part'')''' | |||
:*Returns the index of this extra part, returns -1 if it is not an extra part. | |||
:'''FormList [[GetValidRaces - HeadPart|GetValidRaces]]()''' | |||
:*Returns the FormList containing all of the valid races this HeadPart applies to. | |||
:'''[[SetValidRaces - HeadPart|SetValidRaces]](FormList ''races'')''' | |||
:*Sets the formlist of valid races of this HeadPart to be 'races'. | |||
== Events == | == Events == | ||
None | None | ||
[[Category:Scripting]] | |||
[[Category:Papyrus]] | |||
[[Category:Script Objects]] | |||
[[Category:SKSE]] | |||
[[Category:SKSE Script Objects]] | |||