TextureSet Script: Difference between revisions

From the CreationKit Wiki
Jump to navigation Jump to search
imported>CraftySentinel
(Added SKSE Functions)
m (Convert source tags to syntaxhighlight)
 
(2 intermediate revisions by one other user not shown)
Line 8: Line 8:


== Definition ==
== Definition ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
ScriptName TextureSet extends Form
ScriptName TextureSet extends Form
</source>
</syntaxhighlight>


== Properties ==
== Properties ==
Line 23: Line 23:
== SKSE Member Functions ==
== SKSE Member Functions ==


{|class="wikitable" width =100%
:'''Int [[GetNumTexturePaths - TextureSet|GetNumTexturePaths]]()'''
!style="text-align:left;"|Function
:*Returns the number of texture paths.
!style="text-align:left;"|Description
|-


|[[GetNumTexturePaths - TextureSet|Int '''GetNumTexturePaths'''()]]
:'''String [[GetNthTexturePath - TextureSet|GetNthTexturePath]](Int ''n'')'''
|Returns the number of texture paths.
:*Returns the Nth texture path.
|-


|[[GetNthTexturePath - TextureSet|String '''GetNthTexturePath'''(Int ''n'')]]
:'''[[SetNthTexturePath - TextureSet|SetNthTexturePath]](Int ''n'', String ''texturePath'')'''
|Returns the Nth texture path.
:*Sets the Nth texture path.
|-
 
|[[SetNthTexturePath - TextureSet|'''SetNthTexturePath'''(Int ''n'', String ''texturePath'')]]
|Sets the Nth texture path.
|-
 
|}


== Events ==
== Events ==
None
None

Latest revision as of 20:23, 5 September 2026


Extends: Form Script (Requires 1.6)

Script for the manipulation of texture sets.

Definition[edit | edit source]

ScriptName TextureSet extends Form

Properties[edit | edit source]

None

Global Functions[edit | edit source]

None

Member Functions[edit | edit source]

None

SKSE Member Functions[edit | edit source]

Int GetNumTexturePaths()
  • Returns the number of texture paths.
String GetNthTexturePath(Int n)
  • Returns the Nth texture path.
SetNthTexturePath(Int n, String texturePath)
  • Sets the Nth texture path.

Events[edit | edit source]

None