TrapSoul - Actor
Member of: Actor Script
Attempts to trap the soul of the target actor in a soul gem in the inventory of the calling actor. Returns success/failure.
SyntaxEdit
bool Function TrapSoul(Actor akTarget) native
ParametersEdit
- akTarget: The target actor being soul-trapped.
Return ValueEdit
True if the actor successfully trapped the given actor's soul. False, otherwise.
ExamplesEdit
; Have the player try to trap the soul of elvis
if Game.GetPlayer().TrapSoul(Elvis)
Debug.Trace("Time to power up rock and roll!")
endIf