Summoned creature object reference

Post » Fri Nov 16, 2012 5:03 pm

How do i get the actor or object reference to a summoned creature (such as Frost Attronach) so i can reference it in my papyrus script? i want to be able to summon a creature, and then use a papyrus script to modify or get its attributes etc etc
User avatar
Genocidal Cry
 
Posts: 3357
Joined: Fri Jun 22, 2007 10:02 pm

Post » Fri Nov 16, 2012 2:27 pm

couple ways I can think of to do it:

The simplest would be to put a script on the summoned actor itself that saves its reference to an Actor variable in a quest script (in an OnInit event).

You could also have the player script cast a scripted aoe spell that only affects summoned creatures that saves the targets reference to an Actor variable on a quest.
User avatar
Kerri Lee
 
Posts: 3404
Joined: Sun Feb 25, 2007 9:37 pm


Return to V - Skyrim