Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Pizza

I need a script wich makes you automatically move to another map when walking to the border of a map.

Question

I think the topic title says all, does someone have a good script for me? I need a script wich makes you automatically move to another map when walking to the border of a map, instead of having to use very much events.

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

o.O I was going to post this long ramble about how events would be less work/more efficient than a script...but my internet went to crap and blah

 

Then you posted this! It seems like a bit to set up, but much easier than I figured it might.

 

That is some very well written ruby as well. Beautifully scripted.

 

HERE WAS MY RANT ANY WAYS

 

I think you are much better off just using events. This kind of thing would actually be much more efficient (for you and the scripter), with the events.

 

It would be easy for a script to determine when the player reaches the border of a map, but for the script to determine which map, position, facing, etc. to teleport the player...that would be wasteful. The scripter would need to make you able to configure this yourself, meaning instead of simply creating a teleport event, copying + pasting, then tweaking... you'll basically have to type out every teleport, or at least type out the reference to a teleport, x, y, facing, etc. Which would then leave the possibility of some major bugs/glitches, that would require you contacting the scripter about fixing.

 

Share this post


Link to post
Share on other sites
  • 0

Thanks! I tested that download, and it works exactly like i needed! Now to figure out how to seperate the script from that download and how to get it running with my own maps... laugh.png

Share this post


Link to post
Share on other sites
  • 0

I believe there are a few scripts you will need to extract. Copy them out of the script editor, into your game. Then I think, in the Map Links script there are some instructions on how to define regions for your game.

Share this post


Link to post
Share on other sites
  • 0

Thanks for the help! I will try to figure this out, and use it in my map. :D

Share this post


Link to post
Share on other sites
  • 0

Honestly I would suggest keeping to doing it with event's as a transfer event is really the simplest that you can do and considering that events can be copy and pasted makes eventing a much simpler choice. If however you have no kind of barrier around the edge of your map stopping a player from trying to walk to the next map there a script designed to do this would probably be a good idea.

 

Tip for mapping:

Though its good mapping practice to try to set up some sort of barrier possibly with crates barrels trees and fences as well as water to guide a player from one map to the next, this can sometimes be difficult if when trying to make a map seem more natural as often you will find yourself having placed lines or groups of triangles of trees and rocks which can make a great natural looking map look not so great.

Edited by RageMage

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...