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

Question

Hello all,

 

First of all, let me introduce myself. I'm a new member here, but I have been using RMXP on and off again for the past years. I'm quite familiar with the program, but I have far from a little experience with scripts.

 

The maps I'm making (finished one since a few days ago) are 100x100 and I wanted to link them together, so I wouldn't have to make teleport events all over the place. A little bit of googling brought me to this amazing script. Truth is, after fooling around with it for a bit, I can't make it work in my own game. Does anyone know what variables you need to change? My guess is that it has to be done in the 'Maplinks' script (not 'Object Table' or 'Maplinks Region'), but I can't seem to get it to work.

 

I hope someone can explain to me how it works. It's probably quite easy.

 

Thanks in advance,

Erik

 

Edit:

I forgot to tell you the exact script:

http://www.rmxpunlim...maplink-script/

http://www.rmxpunlim...4-maplinks-201/

Edited by Stammetje91

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Yeah! That's it. =)

 

I only have one map finished and am busy with the second one. I also have one secondary map included with the first map. I thought this would do the trick:

 

#--------------------------------------------------------------------------
# * Setup Regional Data
#--------------------------------------------------------------------------
def setup
# Region['Field']
maps = Object_Table.new(2, 1)
maps[0,0], maps[1,0] =  3,  1
Region.new('Field', maps, [15])
# Region['Name']
# etc.
update
end

 

It's then supposed to be two maps linked to each other, with the right one being the finished map and the left one being the third map (guessing that the other map is considered number two, because it has been added second). Is there a way to see what number a map is?

 

Edit:

Just re-edited (rewrote is quite an overstatement) the script and now it's working. Seems I missed a space or something. I'm still wondering though how to know what number a map has. It isn't such a big deal now, but later on it could become quite a bother. =/

 

Thanks for the fast reaction!

Erik

Edited by Stammetje91

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...