RemoveNthEffect

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Removes the effect-entry at the specified index from the effect list of the specified ingestible/object effect/actor effect.

Syntax

[help]
(effectCount:int) RemoveNthEffect effectForm:ref index:int

Example

RemoveNthEffect EnchClothingDuster 0
RemoveNthEffect RadAway 2

Notes

  • If the effect-entry was successfully removed, the function will return the new effect-count, and -1 otherwise.

See Also