Difference between revisions of "GetCostliestEffectIndex - Enchantment"
Jump to navigation
Jump to search
imported>Behippo |
imported>Cipscis m (Cipscis moved page GetCostliestEffectIndex to GetCostliestEffectIndex - Enchantment: Standardising name) |
(No difference)
|
Latest revision as of 15:42, 5 September 2012
SKSE Member of: Enchantment Script, Ingredient Script, Potion Script, Scroll Script, and Spell Script
Returns the index of the costliest effect on an enchantment, ingredient, potion, or spell. (This function requires SKSE)
Syntax[edit | edit source]
int Function GetCostliestEffectIndex() native
Parameters[edit | edit source]
None
Return Value[edit | edit source]
Returns the index of the costliest effect on an enchantment, ingredient, potion, scroll, or spell.
Examples[edit | edit source]
int n = enchantment.GetCostliestEffectIndex()
MagicEffect mEffect = GetNthEffectMagicEffect(n)
Debug.Trace("The costliest MagicEffect for this enchantment is " + mEffect)