Unique vs. Templated actors

Post » Mon Nov 19, 2012 3:58 pm

I have a couple of battles I'm working on and need some help to make sure I'm going in the right direction. What I have is as follows:

1) I have a Thalmor Prison set up with a bunch of guards inside and out. There will be at least 4 outside, and 6 inside in an upper level, and then at least 6 more in a lower level. I will also have 2 Unique Justiciars in the upper level, and a torturer in the lower level. The first trip to the prison is to rescue a comrad that has been captured. I plan on making it so that if the player has met a certain criteria, they would be able to negotiate the release of the prisoner peacefully. However, if they fail the challenges, everybody becomes hostile and they have to fight their way to the prisoner.

2) Later on, the Thalmor kidnap another one of my main characters, (silly NPC's) and the player and a group of others have to go to the prison once again for a final battle against more guards and the arch-enemy boss character.

I started out making my Thalmor Guards off of the "EnchThalmor" templates. I made myself a new template based off of that one, and was going to set the player relationship to them as Neutral and their AI to Aggressive so they wouldn't attack until I set the relationship to Enemy if the player failed the challenge. For the 2nd battle, I just need them as enemy so I don't need anything special with that one.

However, on the SetRelationshipRanl page it says "Relationship data is NOT stored for Templated Actors, and any scripts that would set relationship data on a Templated Actor will get wiped once your game session is over (which obviously has bad implications for Save/Load)." This would seem to be a bad thing for my situation, so I'm thinking I might just need to create unique actors instead of using my templates.

The 2nd thing I need to know, is how can I use the same generic guards for both battles? Is it as simple as resurrecting them for the 2nd battle? The battles will take place some time apart from each other, but I'm not sure it would be long enough to respawn them. (I assume I'd have to set them to respawn?) I could just reset the cell before entering it I suppose just to be sure?

Thanks!
User avatar
Emma louise Wendelk
 
Posts: 3385
Joined: Sat Dec 09, 2006 9:31 pm

Return to V - Skyrim