kylebooze Posted May 6, 2008 Share Posted May 6, 2008 Hello, I am having trouble with a mod I am currently working on for a friend of mine. I wanted to know how to make a row boat take the PC to another boat or island in another world space. I have been trying to figure it out for a while now and it's very confusing...Please, if ysomebody can maybe give me a link or a walkthrough for how to do this it would really help. :unsure: Link to comment Share on other sites More sharing options...
Vagrant0 Posted May 6, 2008 Share Posted May 6, 2008 Hello, I am having trouble with a mod I am currently working on for a friend of mine. I wanted to know how to make a row boat take the PC to another boat or island in another world space. I have been trying to figure it out for a while now and it's very confusing...Please, if ysomebody can maybe give me a link or a walkthrough for how to do this it would really help. :unsure:If all you are looking to do is teleport the player, you can use scripts that use the player.movetomarker <markername> function. If you are looking to have the boat actually move and carry the player, you have quite a bit more work ahead. First, you wouldn't be able to transition between worldspaces just by this, so would have to use a teleport somewhere anyway (when the boat reaches a certain point the player is moved). To make the boat move however you need to setup a route, and then use some complicated math stuff to figure out points along that route that you'd be moving the boat along. If you don't understand that, you probably shouldn't even attempt this method. Even if you do understand it, you probably shouldn't attempt this method unless you happen to like math. A simple teleport paired with an increase in time is more than enough to satisfy the needs of most people. The point of your mod is what is in that worldspace, not how you get there... Right? Link to comment Share on other sites More sharing options...
kylebooze Posted May 6, 2008 Author Share Posted May 6, 2008 So the script would look like this... scn (Scriptname) begin OnActivateplayer.movetomarker (name of marker)end ...or am I missing something? :unsure: Link to comment Share on other sites More sharing options...
Vagrant0 Posted May 6, 2008 Share Posted May 6, 2008 So the script would look like this... scn (Scriptname) begin OnActivateplayer.movetomarker (name of marker)end ...or am I missing something? :unsure:Yep, that's about it, unless you wanted to throw in some changes to time, or ask for confirmation. Link to comment Share on other sites More sharing options...
kylebooze Posted May 7, 2008 Author Share Posted May 7, 2008 Ok cool! thanks a bunch! :biggrin: :thanks: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.