Difference between revisions of "HeadPart Script"
Jump to navigation
Jump to search
imported>CraftySentinel m (→SKSE Member Functions: Correct Typo) |
imported>CraftySentinel (Realised it was global after editing, moved GetHeadPart to global Functions) |
||
Line 23: | Line 23: | ||
None | None | ||
== SKSE | == SKSE Global Functions == | ||
{|class="wikitable" width =100% | {|class="wikitable" width =100% | ||
Line 32: | Line 32: | ||
|[[GetHeadPart - HeadPart|HeadPart '''GetHeadPart'''(String ''name'')]] | |[[GetHeadPart - HeadPart|HeadPart '''GetHeadPart'''(String ''name'')]] | ||
|Returns the HeadPart that has the specified name. | |Returns the HeadPart that has the specified name. | ||
|- | |||
|} | |||
== SKSE Member Functions == | |||
{|class="wikitable" width =100% | |||
!style="text-align:left;"|Function | |||
!style="text-align:left;"|Description | |||
|- | |- | ||
Revision as of 20:34, 29 October 2013
Extends: Form Script
Script for the manipulation of HeadPart base objects. (This type requires SKSE)
Definition
ScriptName HeadPart extends Form
Properties
None
Global Functions
None
Member Functions
None
SKSE Global Functions
Function | Description |
---|---|
HeadPart GetHeadPart(String name) | Returns the HeadPart that has the specified name. |
SKSE Member Functions
Function | Description |
---|---|
Int GetType() | Returns type of this head part. |
Int GetNumExtraParts() | Returns the number of extra head parts this HeadPart has. |
HeadPart GetNthExtraPart(Int n) | Returns the Nth extra head part of this HeadPart. |
Bool HasExtraPart(HeadPart part) | Returns whether this HeadPart has 'part' as an extra part. |
Int GetIndexOfExtraPart(HeadPart part) | Returns the index of this extra part, returns -1 if it is not an extra part. |
FormList GetValidRaces() | Returns the FormList containing all of the valid races this HeadPart applies to. |
SetValidRaces(FormList races) | Sets the formlist of valid races of this HeadPart to be 'races'. |
Events
None