Difference between revisions of "TreeObject Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Terra Nova2
m (Terra Nova2 moved page Tree Script to TreeObject Script: Changed title to correct name.)
imported>Terra Nova2
Line 5: Line 5:
== Definition ==
== Definition ==
<source lang="papyrus">
<source lang="papyrus">
ScriptName Tree extends Form
ScriptName TreeObject extends Form
</source>
</source>


==SKSE Member Functions ==
==SKSE Member Functions ==

Revision as of 12:34, 24 February 2015

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.
Ingredient GetIngredient()
  • Returns the Ingredient associated with this tree.
SetIngredient(Ingredient akIngredient)
  • Sets the Ingredient associated with this tree.


Events

None

Notes

  • As of SKSE version 1.7.2, this script has been remaned TreeObject to avoid conflicts with vanilla scripts.