[papyrus] Moving the player to cells

Post » Mon Jun 18, 2012 8:10 am

I'm writing a OnActivate function to have the player moved to another cell, currently I'm using Debug.CenterOnCell to do this. But almost without exception this causes the game to freeze, I got it to work a few times, but without changing anything it didn't work the next time I loaded the game.

Is there a way to simulate the same effect as with doors (area transitions), only using Activator objects instead of doors?
User avatar
Brandi Norton
 
Posts: 3334
Joined: Fri Feb 09, 2007 9:24 pm

Post » Mon Jun 18, 2012 4:51 am

http://www.creationkit.com/ObjectReference.MoveTo_(Papyrus) should be more reliable.
User avatar
Robert Bindley
 
Posts: 3474
Joined: Fri Aug 03, 2007 5:31 pm

Post » Sun Jun 17, 2012 5:03 pm

Try using http://www.creationkit.com/CenterOnCellAndWait_-_Debug instead, perhaps.

Cipscis
User avatar
Tamika Jett
 
Posts: 3301
Joined: Wed Jun 06, 2007 3:44 am

Post » Sun Jun 17, 2012 11:15 pm

Unfortunately CenterOnCellAndWait does the same thing, freezing the computer. Going to check out MoveTo in the morning. If anyone else have any tips on how they do their moving of the player I'd love to hear it.
User avatar
Kara Payne
 
Posts: 3415
Joined: Thu Oct 26, 2006 12:47 am


Return to V - Skyrim