HeadPart Script: Difference between revisions
Jump to navigation
Jump to search
m
→SKSE Member Functions: Formatting Change
imported>PurpleLunchbox |
imported>CraftySentinel m (→SKSE Member Functions: Formatting Change) |
||
| Line 25: | Line 25: | ||
== SKSE Member Functions == | == SKSE Member Functions == | ||
{|class="wikitable" width =100% | |||
!style="text-align:left;"|Function | |||
!style="text-align:left;"|Description | |||
|- | |||
|[[GetType - HeadPart|Int '''GetType'''()]] | |||
|Returns type of this head part. | |||
|- | |||
|[[GetNumExtraParts - HeadPart|Int '''GetNumExtraParts'''()]] | |||
|Returns the number of extra head parts this HeadPart has. | |||
|- | |||
|[[GetNthExtraPart - HeadPart|HeadPart '''GetNthExtraPart'''(Int ''n'')]] | |||
|Returns the Nth extra head part of this HeadPart. | |||
|- | |||
|[[HasExtraPart - HeadPart|Bool '''HasExtraPart'''(HeadPart ''part'')]] | |||
|Returns whether this HeadPart has 'part' as an extra part. | |||
|- | |||
|[[GetIndexOfExtraPart - HeadPart|Int '''GetIndexOfExtraPart'''(HeadPart ''part'')]] | |||
|Returns the index of this extra part, returns -1 if it is not an extra part. | |||
|- | |||
|[[GetValidRaces - HeadPart|FormList '''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 | ||