TreeObject Script: Difference between revisions
Jump to navigation
Jump to search
imported>Scrivener07 m (fixed link) |
m (Convert source tags to syntaxhighlight) |
||
| Line 4: | Line 4: | ||
== Definition == | == Definition == | ||
< | <syntaxhighlight lang="papyrus"> | ||
ScriptName TreeObject extends Form | ScriptName TreeObject extends Form | ||
</ | </syntaxhighlight> | ||
==SKSE Member Functions == | ==SKSE Member Functions == | ||
Latest revision as of 21:23, 5 September 2026
Extends: Form Script
Script for the manipulation of Tree objects.
Definition[edit | edit source]
ScriptName TreeObject extends FormSKSE Member Functions[edit | edit source]
- 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[edit | edit source]
None
Notes[edit | edit source]
- 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.