Difference between revisions of "Flora Script"

174 bytes added ,  02:27, 28 July 2019
Added a "Notes" section and a note about a change made in SKSE v1.7.3.
imported>CraftySentinel
m (→‎SKSE Member Functions: Formatting Change)
imported>KainXavier
(Added a "Notes" section and a note about a change made in SKSE v1.7.3.)
 
(2 intermediate revisions by 2 users not shown)
Line 23: Line 23:
==SKSE Member Functions ==
==SKSE Member Functions ==


{|class="wikitable" width =100%
:'''SoundDescriptor [[GetHarvestSound - Flora|GetHarvestSound]]()'''
!style="text-align:left;"|Function
:*Returns the harvest sound associated with this flora.
!style="text-align:left;"|Description
|-
|[[GetHarvestSound - Flora|SoundDescriptor '''GetHarvestSound'''()]]
|Returns the harvest sound associated with this flora.
|-


|[[SetHarvestSound - Flora|'''SetHarvestSound'''(SoundDescriptor ''akSoundDescriptor'')]]
:'''[[SetHarvestSound - Flora|SetHarvestSound]](SoundDescriptor ''akSoundDescriptor'')'''
|Sets the harvest sound for this flora.
:*Sets the harvest sound for this flora.
|-


|[[GetIngredient - Book|Ingredient '''GetIngredient'''()]]
:'''Form [[GetIngredient - Flora|GetIngredient]]()'''
|Returns the Ingredient associated with this flora.
:*Returns the Ingredient associated with this flora.
|-


|[[SetIngredient - Book|'''SetIngredient'''(Ingredient ''akIngredient'')]]
:'''[[SetIngredient - Flora|SetIngredient]](Form ''akIngredient'')'''
|Sets the Ingredient associated with this flora.
:*Sets the Ingredient associated with this flora.
|-
 
|}


== Events ==
== Events ==
None
None
== Notes ==
*As of SKSE version 1.7.3, GetIngredient() returns a Form and SetIngredient() accepts a Form as an argument.  They previously only returned / accepted an Ingredient.
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Script Objects]]
[[Category:SKSE]]
[[Category:SKSE Script Objects]]
Anonymous user