Background for Skyrim SE
Member of the PO3_SKSEFunctions script
voidfunctionAddEffectItemToSpell(SpellakSpell, SpellakSpellToCopyFrom, intaiIndex, floatafCost=-1)NativeGlobal

Description

GitHub Wiki Description (PO3's PE)

  • Adds effectitem from spell to target spell, at given index. Same as above function, but less verbose, and preserves all conditions.

Caveats


Parameters

SpellakSpell

SpellakSpellToCopyFrom

intaiIndex

floatafCost=-1


Examples

Auto-Generated Example

Spell mySpell__akSpell
Spell mySpell__akSpellToCopyFrom
int myInt__aiIndex
float myFloat__afCost

PO3_SKSEFunctions.AddEffectItemToSpell(mySpell__akSpell, mySpell__akSpellToCopyFrom, myInt__aiIndex, 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.