CastEnchantment - ANDR PapyrusFunctions

Member of: ANDR_PapyrusFunctions Script

Casts this enchantment's effects from the specified actor, to a target actor.

SyntaxEdit

Function CastEnchantment(Actor akSource, Enchantment akEnchantment, Actor akTarget) global native

ExamplesEdit

ANDR_PapyrusFunctions.CastEnchantment(PlayerRef, EnchFireDamage01, NazeemRef)
; player has cast EnchFireDamage01 on Nazeem!

ParametersEdit

  • akSource: The Actor from which to "cast" the enchantment.
  • akEnchantment: The Enchantment to apply.
  • akTarget: The Actor at which to apply the enchantment's effects.

Return ValueEdit

None.

NotesEdit

  • This function follows the same logic as the Cast - Spell function, but for enchantments instead of spells.

See AlsoEdit