Moonwalking follower, help!

Post » Thu Jun 21, 2012 5:33 pm

Hey guys, I've made a new companion, and he works pretty great, except for one teeny little problem.

Everywhere he goes, he walks backwards towards me. Or sideways, or diagonally. I mean, he'll occasionally walk the right way, but 9 times outta 10, he's moonwalking towards me. It's really annoying!

Anyone got any idea what could be causing this?

Here's a screenshot, not that it really shows much! http://i101.photobucket.com/albums/m43/danburite/ScreenShot9-4.jpg
User avatar
Bloomer
 
Posts: 3435
Joined: Sun May 27, 2007 9:23 pm

Post » Thu Jun 21, 2012 9:45 am

Are you using the setlookat function? In theory it should do the opposite, but who knows.
User avatar
Mrs. Patton
 
Posts: 3418
Joined: Fri Jan 26, 2007 8:00 am

Post » Thu Jun 21, 2012 6:45 am

Are you using the setlookat function? In theory it should do the opposite, but who knows.

I'm not, but I'll look into that. Thanks. :smile:
EDIT: I tried adding the following line to my quest script (Alias_Victim being my follower NPC) after it spawns the NPC.
Alias_Victim.SetLookAt(Game.GetPlayer())

But I get this error:
Starting 1 compile threads for 1 files...Compiling "QF_danIntroQuest_01014305"...c:\program files\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\QF_danIntroQuest_01014305.psc(53,13): SetLookAt is not a function or does not existNo output generated for QF_danIntroQuest_01014305, compilation failed.Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on QF_danIntroQuest_01014305

So, what's up with that? As far as I can tell from the Creation Kit wiki, I thought I was using the right syntax. But, I guess apparently I'm not.
User avatar
Justin
 
Posts: 3409
Joined: Sun Sep 23, 2007 12:32 am

Post » Thu Jun 21, 2012 3:41 am

This is hilarious.
User avatar
Emily Graham
 
Posts: 3447
Joined: Sat Jul 22, 2006 11:34 am

Post » Thu Jun 21, 2012 11:16 am

You have to do:


Alias_Victim.GetActorRef().SetLookAt(Game.GetPlayer())



But I seriously doubt setlookat will help you in this situation, because if it did fix the problem, it would introduce a new problem where the actor would always be looking at you even during combat and thus be unable to hit anything.

It sounds like maybe it is a package issue? I know nothing of packages.
User avatar
Amy Melissa
 
Posts: 3390
Joined: Fri Jun 23, 2006 2:35 pm

Post » Thu Jun 21, 2012 7:52 am

But I seriously doubt setlookat will help you in this situation, because if it did fix the problem, it would introduce a new problem where the actor would always be looking at you even during combat and thus be unable to hit anything.

It sounds like maybe it is a package issue? I know nothing of packages.

The only packages are the ones that would be (I assume) automatically added when he's added as a follower. My NPC doesn't actually have any packages of his own, yet.
User avatar
Jerry Jr. Ortiz
 
Posts: 3457
Joined: Fri Nov 23, 2007 12:39 pm

Post » Thu Jun 21, 2012 12:50 pm

I was asking if you where using setlookat as posible source of your problem not as a solution. Sorry for the misunderstanding.

I doubt any package could cause this on it's own. The problem here is that the headding and the destination are different and a NPC can have only a single package equipped at a given time. There is something making your follower look in the opposite direction the package points at and for what I read I doubt is something you have caused (It seem you are following the instructions to make a basic follower, not experimenting with interesting functions yet, and the result seem caused by a complex conbination of scripting more than by a simple error in the use of a function or two).

This can be caused by a mod you have installed. Maybe something with the purpose of avoiding all NPC looking at you constantly?
User avatar
Kayla Keizer
 
Posts: 3357
Joined: Tue Dec 12, 2006 4:31 pm

Post » Thu Jun 21, 2012 1:20 pm

I was asking if you where using setlookat as posible source of your problem not as a solution. Sorry for the misunderstanding.

I doubt any package could cause this on it's own. The problem here is that the headding and the destination are different and a NPC can have only a single package equipped at a given time. There is something making your follower look in the opposite direction the package points at and for what I read I doubt is something you have caused (It seem you are following the instructions to make a basic follower, not experimenting with interesting functions yet, and the result seem caused by a complex conbination of scripting more than by a simple error in the use of a function or two).

This can be caused by a mod you have installed. Maybe something with the purpose of avoiding all NPC looking at you constantly?

Most of my mods are just spells and stuff. I'll look into that, though. Thanks.
User avatar
Auguste Bartholdi
 
Posts: 3521
Joined: Tue Jun 13, 2006 11:20 am


Return to V - Skyrim