Jump to content

NPC offer travel


X13Studios

Recommended Posts

Hey im in the process of creating a large world space full of cities and area to explore and i want the player to find a npc in a familliar town and thru conversation offer to take the player to the world by boat.(teleport player) to the new world. I was wondering how to do this. ty for your time. Edited by X13Studios
Link to comment
Share on other sites

Remember to not call MoveTo on the player while you're still in conversation. Make a quest script that checks a variable. if the variable is changed then it teleports the PC. Make conversation change the variable. Then when you've teleported change the variable to something else entirely so it won't loop teleports.

 

If you call MoveTo while in dialogue it does something really screwy and breaks the save game. I made that mistake myself once and broke a perfectly good save. http://cs.elderscrolls.com/constwiki/index.php/Common_Bugs#MoveTo_Oddities

Link to comment
Share on other sites

Does your mod have a quest script? If so, put at the beginning among the declarations "short PCbeingwarped"

 

Then in the result script for the dialogue, put in "set (Questname).PCbeingwarped to 2"

 

On the quest script put in "if PCBeingWarped == 1

player.moveto (Destination)"

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...