Difference between revisions of "TreeObject Script"
Jump to navigation
Jump to search
imported>KainXavier m (→Notes) |
imported>Scrivener07 m (minor spelling) |
||
Line 26: | Line 26: | ||
== Notes == | == Notes == | ||
*As of SKSE version 1.7.2, this script has been | *As of SKSE version 1.7.2, this script has been renamed from '''Tree''' to '''TreeObject''', to avoid conflicts with vanilla scripts. | ||
*As of SKSE version 1.7.3, GetIngredient() returns a Form and SetIngredient() accepts a Form as an argument. They previously only returned | *As of SKSE version 1.7.3, <code>GetIngredient()</code> returns a [[Form]] and <code>SetIngredient()</code> accepts a Form as an argument. They previously only returned or accepted an [[Ingredient]]. | ||
[[Category:Scripting]] | [[Category:Scripting]] |
Revision as of 06:12, 28 July 2019
Extends: Form Script
Script for the manipulation of Tree objects.
Definition
ScriptName TreeObject extends Form
SKSE Member Functions
- SoundDescriptor GetHarvestSound()
- Returns the harvest sound associated with this tree.
- SetHarvestSound(SoundDescriptor akSoundDescriptor)
- Sets the harvest sound for this tree.
- Form GetIngredient()
- Returns the Ingredient associated with this tree.
- SetIngredient(Form akIngredient)
- Sets the Ingredient associated with this tree.
Events
None
Notes
- As of SKSE version 1.7.2, this script has been renamed from Tree to TreeObject, to avoid conflicts with vanilla scripts.
- As of SKSE version 1.7.3,
GetIngredient()
returns a Form andSetIngredient()
accepts a Form as an argument. They previously only returned or accepted an Ingredient.