Travel Question Dialogue Script ?

Post » Mon Jun 18, 2012 5:46 am

So basically i want to create an NPC who functions like the carriage system.
I want to be able to
  • Change the dialogue to whatever location i want. So instead of traveling to capitals, I could travel to other places (whatever i choose)
  • take gold from the player once the selection is made
  • fast travel the player to the location
I've tried copying the carriage system NPC's but after making a selection to go to a town, they tell you to sit in the back of the carriage ( which i don't have, and don't want ) I tried adding a chair and linking the carriage system, but with no luck.

I was thinking maybe adding an END script so once the dialogue is chosen it will automatically happen. I have no idea how the scripting language works or what code I should be using to make all this happen. Any help would be appreciated.

-Thanks.
User avatar
Katie Louise Ingram
 
Posts: 3437
Joined: Sat Nov 18, 2006 2:10 am

Post » Mon Jun 18, 2012 8:17 am

You shouldn't need to copy the cariage system

Most of this is detailed in various post in this forum.

You should be able to use http://www.creationkit.com/ObjectReference.MoveTo_%28Papyrus%29 (see the bob example at the bottom) and apply that to the dialogue (assuming you don't want the TravelNPC to come with you ... if you do, then you'll need to MoveTos ... actually, maybe a MoveActorTo for the travel NPC)
User avatar
Jennifer May
 
Posts: 3376
Joined: Thu Aug 16, 2007 3:51 pm

Post » Mon Jun 18, 2012 4:17 pm

Thanks h4vent! I think this is exactly what i needed.
User avatar
STEVI INQUE
 
Posts: 3441
Joined: Thu Nov 02, 2006 8:19 pm

Post » Mon Jun 18, 2012 10:55 am

I keep getting an error when compiling saying my map marker is undefined.

This is the code im using.

Game.GetPlayer().MoveTo(MyMapMarker)

any help?
User avatar
Solène We
 
Posts: 3470
Joined: Tue Mar 27, 2007 7:04 am

Post » Mon Jun 18, 2012 12:37 pm

You made an ObjectReference Property, right?
User avatar
Nadia Nad
 
Posts: 3391
Joined: Thu Aug 31, 2006 3:17 pm

Post » Mon Jun 18, 2012 4:27 am

no, how do i go about that? thanks for the quick reply
User avatar
Isaiah Burdeau
 
Posts: 3431
Joined: Mon Nov 26, 2007 9:58 am

Post » Mon Jun 18, 2012 6:34 am

I don't know anything about dialog scripts and what not, but for other scripts you would put "ObjectReference Property MyMapMarker Auto" at top.

Is there a "Property" button anywhere near where you put the script?

Also, incase you want to read about functions:

http://www.creationkit.com/Variables_and_Properties
http://www.creationkit.com/Property_Reference
User avatar
Celestine Stardust
 
Posts: 3390
Joined: Fri Dec 01, 2006 11:22 pm

Post » Mon Jun 18, 2012 5:54 pm

and KACHOW! the property window is what i needed. Adding the object reference worked.

Thanks neonox.
User avatar
Joanne
 
Posts: 3357
Joined: Fri Oct 27, 2006 1:25 pm


Return to V - Skyrim