Help returning summoner alias from summoned creature

Post » Sun Feb 22, 2015 4:01 pm

Hello everyone,

I would like to get a quick answer to this question: Is it possible to make a summoned creature return it's summoner's refid from the summoned creature's perspective? For example, say I have an NPC that can summon a dragon. I want a script from the dragon to be able to trace back/return the refid of the npc that summoned it (w/out using any forms of Global variables) so I can do things like display a message: " detected enemy ". Thank you.

User avatar
louise fortin
 
Posts: 3327
Joined: Wed Apr 04, 2007 4:51 am

Post » Mon Feb 23, 2015 12:52 am

...No. The archetype prevents the returning of the reference in any way. -.- You can't add the summon to a quest alias either. You can't even use GetFormFromFile to pull the actor associated with the summon to do direct things on the summon's form*. To that end, you can't get the actor that cast the summon.

*Strange thing with this though when you use a spell on the form. The shaders will play on the summon, but nothing else in the magic effect will work. As an example, restore health still lands the shaders on the summon, but if they are low on health, no health is restored. Therefore, shaders are able to detect summons, but not for anything useful.

User avatar
Jani Eayon
 
Posts: 3435
Joined: Sun Mar 25, 2007 12:19 pm


Return to V - Skyrim