CastSpellFromPointToPoint - ANDR PapyrusFunctions
Jump to navigation
Jump to search
Member of: ANDR_PapyrusFunctions Script
Casts a spell from the given starting coordinates, toward a given ending coordinates.
Syntax[edit | edit source]
Function CastSpellFromPointToPoint(Actor akSource, Spell akSpell, Float StartPoint_X, Float StartPoint_Y, Float StartPoint_Z, Float EndPoint_X, Float EndPoint_Y, Float EndPoint_Z) native globalExamples[edit | edit source]
ANDR_PapyrusFunctions.CastSpellFromPointToPoint(Game.GetPlayer(), Fireball, 1000.0, 500.0, 250.0, 600.0, 300.0, 400.0)
; Have the player cast a Fireball from the given start coordinates to given end coordinates.Parameters[edit | edit source]
- akSource: The caster Actor responsible for the spell. (applies any modifiers for the spell)
- akSpell: The Spell to cast.
- StartPoint_X: The X position of the starting point (in float).
- StartPoint_Y: The Y position of the starting point (in float).
- StartPoint_Z: The Z position of the starting point (in float).
- EndPoint_X: The X position of the ending point (in float).
- EndPoint_Y: The Y position of the ending point (in float).
- EndPoint_Z: The Z position of the ending point (in float).
Return Value[edit | edit source]
None.