Problems with MoveTo

Post » Sun Dec 23, 2012 12:10 am

I have an NPC that has an alias and is in a holding cell.

For the NPC's alias I have reserves reference and optional checked. The alias uses a specific actor which is placed in the holding cell.

At the end of a dialog with the player the stage goes to say 197 and the move is supposed to be executed. Or is it? The NPC never appears. The code is below.

Handmaiden1Ref.getReference().moveto(Game.GetPlayer())
Handmaiden1Ref.getReference().enable()

This compiles but doesn't work.

If I use the line below it doesn't compile.

Handmaiden1Ref.moveto Player, 512.0, 0.0, 0.0

HandmaidenRef is defined as follows.

ReferenceAlias Property Handmaiden1Ref Auto

What I want is for this NPC to appear at the end of the dialog and immediately attack the player.

I think I'm doing something seriously wrong. Any help is appreciated.
User avatar
sam
 
Posts: 3386
Joined: Sat Jan 27, 2007 2:44 pm

Return to V - Skyrim