SetNthEffectMagnitude - Potion

From the CreationKit Wiki
Revision as of 23:06, 1 December 2021 by Jadkai (talk | contribs) (→‎Examples: Missed something attempting to assign a return value from the function that doesn't return a value)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: Potion Script

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

Syntax

Function SetNthEffectMagnitude(int index, float value) native

Parameters

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

Set Value

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

Examples

potion.SetNthEffectMagnitude(0, 20)

See Also