Move player to a certain cell

Post » Sun Jun 24, 2012 5:02 am

Hello,
I am making a new quest an I wanted it to be interesting so now I need a script for magic effect, that would simply move the player to another cell. Anyone knows how to do that?


Thank you so much!
User avatar
Marguerite Dabrin
 
Posts: 3546
Joined: Tue Mar 20, 2007 11:33 am

Post » Sun Jun 24, 2012 10:57 am

I'm not sure about attaching it to the whole magic effect thing or any of that, but to actually move the player you can use http://www.creationkit.com/MoveTo_-_ObjectReference.
User avatar
Steve Smith
 
Posts: 3540
Joined: Sat Jun 30, 2007 10:47 am

Post » Sun Jun 24, 2012 3:20 pm

Hi, would you be able to write the script, I would really appriciate it. I just know there has to be some kind of reference to the COC in the cell, but I cant wrap my head arond the stuff they write in the tutorial..
User avatar
Kristian Perez
 
Posts: 3365
Joined: Thu Aug 23, 2007 3:03 am

Post » Sun Jun 24, 2012 12:54 pm

Game.GetPlayer().MoveTo(SomeMarker)
That should get you started in the right direction. It really would be best for you if you learn to write the script yourself.
User avatar
Yonah
 
Posts: 3462
Joined: Thu Aug 02, 2007 4:42 am

Post » Sun Jun 24, 2012 7:44 am

ScriptName TeleportSkript extends ActiveMagicEffectObjectReference Property TargetMarker AutoEvent OnEffectStart(Actor akTarget, Actor akCaster)Game.GetPlayer().MoveTo(TargetMarker)EndEvent
User avatar
Andres Lechuga
 
Posts: 3406
Joined: Sun Aug 12, 2007 8:47 pm

Post » Sun Jun 24, 2012 10:54 am

So great.. Both of you - thank you so much :)
User avatar
Pants
 
Posts: 3440
Joined: Tue Jun 27, 2006 4:34 am


Return to V - Skyrim