Getting Vigilance be re-hireable

Post » Tue Sep 23, 2014 5:40 pm

So I've been looking for a mod that makes Vigilance repeatedly hireable in the event of its death, after a few days delay, much like horses already work. Since nothing of the sort seems to exist, I decided to make my attempt at it.

So far I've already figured out the following:

  • Vigilance goes by the name of TrainedDog in the creation kit.
  • Horses have a "Respawn" checkbox ticked on, which Vigilance has set to off.
  • If Vigilance is killed in-game while following the player, and manually resurrected via console, it seems to head back towards Markarth Stables. Additionally, Banning (the NPC you buy Vigilance from) will regain the dialogue option to hire the dog.

Essentially, it seems Bethesda already did most of the work for me. Would it be as simple as just ticking that Respawn checkbox to ON? And how many days would Vigilance take to respawn, is there a standard respawn timer?

User avatar
Richard
 
Posts: 3371
Joined: Sat Oct 13, 2007 2:50 pm

Post » Wed Sep 24, 2014 5:41 am

If you want it to respawn instantaneously when it dies, you could add a simple script like this to it:

Scriptname MyVigilanceScript extends actor Event OnDeath(actor akKiller)    self.resurrect()    self.MoveTo(self.GetEditorLocation())EndEvent

This will of course only work if you're sure this

is true.

User avatar
KIng James
 
Posts: 3499
Joined: Wed Sep 26, 2007 2:54 pm

Post » Tue Sep 23, 2014 10:38 pm

Yeah, I'm not sure about it anymore. I tried setting Vigilance's respawn to on, and it did show up at the Markarth stables a while after, but Banning didn't have the purchase dialogue. Not sure if the console resurrect does something different than the actor respawn toggle.

User avatar
Leanne Molloy
 
Posts: 3342
Joined: Sat Sep 02, 2006 1:09 am

Post » Tue Sep 23, 2014 4:32 pm

Resurrect doesn't always have the wanted effect if it's used alone. Once you've resurrected Vigilance disable him and enable him back afterwards. Then use recycleactor on him so that he is returned to Markarth right away. This should reset him and maybe bring back the dialogue with his master. I'm waiting for your feedback on this. ;)

User avatar
Elizabeth Falvey
 
Posts: 3347
Joined: Fri Oct 26, 2007 1:37 am

Post » Tue Sep 23, 2014 8:41 pm

I think you misunderstood me. I was saying that resurrect alone works fine, it was my CK edit (by toggling Vigilance's respawn to ON) that seemed to not be triggering Banning's hire dialogue to reappear.

However I tested it multiple times since then and I haven't been able to reproduce it anymore. Vigilance seems to be respawning at the stables 10 days after its death, and Banning gets the hire dialogue as soon as that happens. So I guess the respawn toggle was all I needed, I'll continue testing it for a bit longer though.

User avatar
Nicole Kraus
 
Posts: 3432
Joined: Sat Apr 14, 2007 11:34 pm

Post » Tue Sep 23, 2014 11:02 pm

I'm curious. What do you mean by "recycleactor"? I couldn't any information on the wiki about such a function.

But yes, he should probably disable and enable him in addition to the resurrection.

Good to hear :smile:

User avatar
Nick Jase Mason
 
Posts: 3432
Joined: Sun Jul 29, 2007 1:23 am

Post » Tue Sep 23, 2014 8:32 pm

There's nothing on the wiki about that command? It completely resets the actor (and any object in fact) to their editor location. Npcs generally end up naked but using disable and enable after recycleactor completely dresses them back.

I use recycleactor on the horses that follow you everywhere when you use fast travel so that they don't stand uselessly around. If it's a horse you bought, he'll land in its original stables; if it's one you found in the wilds, he'll land where you found it.

User avatar
Mel E
 
Posts: 3354
Joined: Mon Apr 09, 2007 11:23 pm

Post » Wed Sep 24, 2014 5:06 am

RecycleActor? Never heard about such a function. Even a complete text search on all script sources didn't reveal the existence of said function.

Is it a SKSE addition?

User avatar
Natasha Biss
 
Posts: 3491
Joined: Mon Jul 10, 2006 8:47 am

Post » Tue Sep 23, 2014 11:55 pm

It's not a function is a console command. Nothing to do with skse. And here is where I found it: http://uesp.net/wiki/Skyrim:Console#Targeted_Commands

User avatar
Maeva
 
Posts: 3349
Joined: Mon Mar 26, 2007 11:27 pm

Post » Tue Sep 23, 2014 11:47 pm

Aah ok, that explains all :D

User avatar
Loane
 
Posts: 3411
Joined: Wed Apr 04, 2007 6:35 am

Post » Tue Sep 23, 2014 8:06 pm

Interesting. And weird that it doesn't exist on the wiki. Someone should add it. Not me :D heh

It sounds like a console command equivalent to the Reset papyrus function?

User avatar
Matt Fletcher
 
Posts: 3355
Joined: Mon Sep 24, 2007 3:48 am


Return to V - Skyrim