bagelfromhell Posted July 3, 2012 Posted July 3, 2012 i tried "coc "cell name"" but the compile failed.
mojodajojo Posted July 3, 2012 Posted July 3, 2012 Coc is for console. Use MoveTo() http://www.creationkit.com/MoveTo_-_ObjectReference
bagelfromhell Posted July 3, 2012 Author Posted July 3, 2012 Coc is for console. Use MoveTo() http://www.creationkit.com/MoveTo_-_ObjectReference I'm getting compiling errors still
bagelfromhell Posted July 3, 2012 Author Posted July 3, 2012 getowningquest().setstage(40) MoveTo (ParastasTreasureRoom)
gasti89 Posted July 3, 2012 Posted July 3, 2012 Delete the MoveTo part from the dialogue and instead put it on Stage 40 fragment. Before scripting, click properties, new property, objectreference type, name myMarker. Now put a XMarker in the place you want to teleport. Now return on the property, on the right click "edit value" and select your marker. Finally write this in the fragment: Game.GetPlayer().MoveTo(myMarker)
mojodajojo Posted July 3, 2012 Posted July 3, 2012 Also keep in mind to do anything else you want to do in that fragment before the MoveTo. I don't know about Skyrim, but when you used MoveTo on the player in Oblivion, it acted as a return. (If I remember correctly.)
bagelfromhell Posted July 4, 2012 Author Posted July 4, 2012 Delete the MoveTo part from the dialogue and instead put it on Stage 40 fragment. Before scripting, click properties, new property, objectreference type, name myMarker. Now put a XMarker in the place you want to teleport. Now return on the property, on the right click "edit value" and select your marker. Finally write this in the fragment: Game.GetPlayer().MoveTo(myMarker) Thank you. Scripting is not an easy thing to learn...
bagelfromhell Posted July 4, 2012 Author Posted July 4, 2012 Also keep in mind to do anything else you want to do in that fragment before the MoveTo. I don't know about Skyrim, but when you used MoveTo on the player in Oblivion, it acted as a return. (If I remember correctly.) thanks for the tip.
mojodajojo Posted July 8, 2012 Posted July 8, 2012 Also keep in mind to do anything else you want to do in that fragment before the MoveTo. I don't know about Skyrim, but when you used MoveTo on the player in Oblivion, it acted as a return. (If I remember correctly.) thanks for the tip. Good news. That bug where MoveTo acted as a return in Oblivion does not happen in Skyrim. I guess it's a peculiarity of TES script and luckily doesn't affect Papyrus. I just wrote a couple different scripts for a mod that did multiple things after using MoveTo() on the player, and it worked fine.
Recommended Posts