ANDR PapyrusFunctions Script: Difference between revisions

Jump to navigation Jump to search
- Added GetAndrealphusExtenderVersion(), CastSpellFromPointToPoint(), CastSpellFromRef(), LaunchAmmo(), LaunchMagicSpell() functions.
(Added page.)
 
(- Added GetAndrealphusExtenderVersion(), CastSpellFromPointToPoint(), CastSpellFromRef(), LaunchAmmo(), LaunchMagicSpell() functions.)
Line 5: Line 5:
[[Category:SKSE Script Objects]]
[[Category:SKSE Script Objects]]


Collection of various global functions, added by AndrealphusVIII in this mod: https://www.nexusmods.com/skyrimspecialedition/mods/85252. (These global functions require SKSE)
Collection of various global functions, added by AndrealphusVIII in this mod: https://www.nexusmods.com/skyrimspecialedition/mods/85252. (These global functions require SKSE.)


== Definition ==
== Definition ==
Line 16: Line 16:


== SKSE Global Functions ==
== SKSE Global Functions ==
:'''String [[GetAndrealphusExtenderVersion - ANDR_PapyrusFunctions|GetAndrealphusExtenderVersion]]()'''
:*Returns the current installed version of Andrealphus' Papyrus Functions as a string. (e.g.: "1.5.2")


:'''[[CastEnchantment - ANDR_PapyrusFunctions|CastEnchantment]](Actor ''akSource'', Enchantment ''akEnchantment'', Actor ''akTarget'')'''
:'''[[CastEnchantment - ANDR_PapyrusFunctions|CastEnchantment]](Actor ''akSource'', Enchantment ''akEnchantment'', Actor ''akTarget'')'''
Line 25: Line 28:
:'''[[CastPotion - ANDR_PapyrusFunctions|CastPotion]](Actor ''akSource'', Potion ''akPotion'', Actor ''akTarget'')'''
:'''[[CastPotion - ANDR_PapyrusFunctions|CastPotion]](Actor ''akSource'', Potion ''akPotion'', Actor ''akTarget'')'''
:*Casts this potion's effects from the specified actor, to a target actor.  
:*Casts this potion's effects from the specified actor, to a target actor.  
:'''[[CastSpellFromPointToPoint - ANDR_PapyrusFunctions|CastSpellFromPointToPoint]](Actor ''akSource'', Spell ''akSpell'', Float ''StartPoint_X'', Float ''StartPoint_Y'', Float ''StartPoint_Z'', Float ''EndPoint_X'', Float ''EndPoint_Y'', Float ''EndPoint_Z'')'''
:*Have an actor cast a spell from a certain point (x, y and z coordinates) to another point (x, y and z coordinates).
:'''[[CastSpellFromRef - ANDR_PapyrusFunctions|CastSpellFromPointToPoint]](Actor ''akSource'', Spell ''akSpell'', ObjectReference ''akTarget'', ObjectReference ''akOriginRef'')'''
:*Have an actor cast a spell from one ref to another ref.


:'''ActiveMagicEffect [[GetActiveMagicEffectFromActor - ANDR_PapyrusFunctions|GetActiveMagicEffectFromActor]](Actor ''akActor'', MagicEffect ''akMagicEffect'')
:'''ActiveMagicEffect [[GetActiveMagicEffectFromActor - ANDR_PapyrusFunctions|GetActiveMagicEffectFromActor]](Actor ''akActor'', MagicEffect ''akMagicEffect'')
Line 40: Line 49:
:'''Float [[GetEffectiveScrollCost - ANDR_PapyrusFunctions|GetEffectiveScrollCost]](Actor ''akSource'', Scroll ''akScroll'')'''
:'''Float [[GetEffectiveScrollCost - ANDR_PapyrusFunctions|GetEffectiveScrollCost]](Actor ''akSource'', Scroll ''akScroll'')'''
:*Returns the effective effects cost of the given scroll for the given caster.  
:*Returns the effective effects cost of the given scroll for the given caster.  
:'''[[LaunchAmmo - ANDR_PapyrusFunctions|LaunchAmmo]](Actor ''akCaster'', Ammo ''akAmmo'', Weapon ''akWeapon'', String ''sNodeName = ""'', ObjectReference ''akTarget = None'', Projectile ''akProjectile'', ObjectReference ''OriginSecondRef = None'')'''
:*Have an actor launch a piece of ammunition to a target.
:'''[[LaunchMagicSpell - ANDR_PapyrusFunctions|LaunchMagicSpell]](Actor ''akCaster'', Spell ''akSpell'', String ''sNodeName = ""'', ObjectReference ''akTarget = None'', Projectile ''akProjectile'', ObjectReference ''OriginSecondRef = None'')'''
:*Have an actor launch a spell to a target.


== Member Functions ==
== Member Functions ==

Navigation menu