SetNthEffectMagnitude - Potion

Revision as of 01:15, 9 June 2015 by imported>Notanon

SKSE Member of: Potion Script

Sets the magnitude of the Nth effect attached to this potion. (This function requires SKSE)

Syntax

float Function GetNthEffectMagnitude(int n) native

Parameters

  • n: The index of which effect magnitude will be set.

Set Value

Sets the magnitude of the Nth effect attached to this potion.

Examples

float magnitude = potion.SetNthEffectMagnitude(0)
Debug.Trace("Potions first effect has been set to a magnitude of " + magnitude)

See Also