- Found in:
- SKSE
Description
Wiki Description
Returns the index of the costliest effect on an enchantment, ingredient, potion, or spell. (This function requires SKSE)
Documentation Comment
return the index of the costliest effect
Caveats
Examples
int n = enchantment.GetCostliestEffectIndex()
MagicEffect mEffect = GetNthEffectMagicEffect(n)
Debug.Trace("The costliest MagicEffect for this enchantment is " + mEffect)Auto-Generated Example
int returnedValue = myEnchantment__toCallFunctionOn.GetCostliestEffectIndex()