Background for Skyrim SE
Member of the PO3_SKSEFunctions script
voidfunctionRemoveMagicEffectFromSpell(SpellakSpell, MagicEffectakMagicEffect, floatafMagnitude, intaiArea, intaiDuration, floatafCost=0.0)NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

  • Removes magic effect from spell that matches magnitude/area/duration/cost.

Parameters

  1. SpellakSpell

  2. MagicEffectakMagicEffect

  3. floatafMagnitude

  4. intaiArea

  5. intaiDuration

  6. floatafCost=0.0


Examples

Auto-Generated Example

Spell mySpell__akSpell
MagicEffect myMagicEffect__akMagicEffect
float myFloat__afMagnitude
int myInt__aiArea
int myInt__aiDuration
float myFloat__afCost

PO3_SKSEFunctions.RemoveMagicEffectFromSpell(mySpell__akSpell, myMagicEffect__akMagicEffect, myFloat__afMagnitude, myInt__aiArea, myInt__aiDuration, myFloat__afCost)

Additional References

View this function on the GitHub Wiki for powerofthree's Papyrus Extender

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.