Background for Skyrim SE
Member of the ANDR_PapyrusFunctions script
voidfunctionLaunchMagicSpell(ActorakCaster, SpellakSpell, stringsNodeName="", ObjectReferenceakTarget=NONE, ProjectileakProjectile, ObjectReferenceOriginSecondRef=NONE)NativeGlobal

Description

Documentation String

  • akCaster: the caster.
  • akSpell: the spell to cast.
  • sNodeName: the name of the skeleton bone node of the akCaster, the spell is launched from. If empty, it will be cast from the origin point of akCaster or OriginSecondRef (only if filled.)
  • akTarget: the target the spell is aimed at, for the player. (might cause issues if none)
  • akProjectile: the projectile that's being used.
  • OriginSecondRef: an optional second ref to launch the spell from (as proxy). If not None, NodeSource will be taken from this ref, instead of akCaster.

Parameters

  1. ActorakCaster

  2. SpellakSpell

  3. stringsNodeName=""

  4. ObjectReferenceakTarget=NONE

  5. ProjectileakProjectile

  6. ObjectReferenceOriginSecondRef=NONE


Examples

Auto-Generated Example

Actor myActor__akCaster
Spell mySpell__akSpell
string myString__sNodeName
ObjectReference myObjectReference__akTarget
Projectile myProjectile__akProjectile
ObjectReference myObjectReference__OriginSecondRef

ANDR_PapyrusFunctions.LaunchMagicSpell(myActor__akCaster, mySpell__akSpell, myString__sNodeName, myObjectReference__akTarget, myProjectile__akProjectile, myObjectReference__OriginSecondRef)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.