Background for Skyrim SE
Member of the YASTMUtils script
ActorfunctionTrapSoulAndGetCaster(Actorcaster, Actorvictim)NativeGlobal

Description

Documentation Comment

Traps a soul and returns the caster.

Useful when you need to handle soul diversion, since the returned caster may
differ from the input caster.

A return value of 'none' indicates that the soul trap has failed.


Caveats


Parameters

Actorcaster

Actorvictim


Examples

Auto-Generated Example

Actor myActor__caster
Actor myActor__victim

Actor returnedValue = YASTMUtils.TrapSoulAndGetCaster(myActor__caster, myActor__victim)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.