Difference between revisions of "RemoteCast - Spell"

473 bytes added ,  10:16, 2 June 2023
m
→‎Notes: Added link to the mod which addresses the issue concerning Dual Casting.
imported>Cscottydont
m (→‎Notes: Added link to the mod which addresses the issue concerning Dual Casting.)
 
(3 intermediate revisions by one other user not shown)
Line 13: Line 13:
== Parameters ==
== Parameters ==
*akSource: The [[ObjectReference Script|ObjectReference]] from which to cast the spell.  The source must be able to cast this spell (testings seem to show anything will work, regardless whether they have the spell or not).
*akSource: The [[ObjectReference Script|ObjectReference]] from which to cast the spell.  The source must be able to cast this spell (testings seem to show anything will work, regardless whether they have the spell or not).
*akBlameActor: The [[Actor Script|Actor]] who will be taking blame for the spell if adding it to a target would cause a crime.  
*akBlameActor: The [[Actor Script|Actor]] who will be taking blame for the spell if adding it to a target would cause a crime. The spell's magic effects will scale with the actor if applicable.
*akTarget: An optional [[ObjectReference Script|ObjectReference]] at which to aim the spell. If None is passed and the spell needs a direction, it will be aimed in a default direction.
*akTarget: An optional [[ObjectReference Script|ObjectReference]] at which to aim the spell. If None is passed and the spell needs a direction, it will be aimed in a default direction.
**'''Default''': None
**'''Default''': None
Line 38: Line 38:
*Using this function will invalidate (cause it to return 0/false when it should return 1/true) any ongoing '''isDualCasting''' checks on akSource.
*Using this function will invalidate (cause it to return 0/false when it should return 1/true) any ongoing '''isDualCasting''' checks on akSource.
**'''isDualCasting''' will continue to return false until akSource stops dual casting.
**'''isDualCasting''' will continue to return false until akSource stops dual casting.
**There is now a fix for above issue found there: [https://www.nexusmods.com/skyrimspecialedition/mods/92454 Po3's Dual Casting Fix]
*While spells will scale with and assign blame to akBlameActor, akSource is considered the 'owner' of the spell, and as such, projectiles will collide with akBlameActor, and '''Summon Creature''' archetype effects will create an instance of the summoned actor for akSource.


== See Also ==
== See Also ==
27

edits