Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • maps
« previous next »
  • Print
Pages: [1]

Author Topic: maps  (Read 2142 times)

Offline ShadowStorm

  • Member
  • Initiate
  • *
  • Posts: 3
maps
« on: December 11, 2008, 10:40:40 PM »
ok say i have an item that teleports me to my tent from any map, and i wanted to go back to the map i was at, how would i do that? is there a way to save which map i was just at and load it when i exit my tent?
Logged

Offline Dragonium

  • Aieee!
  • Staff
  • Royal
  • *
  • Posts: 3,786
  • MY PRISON IS SHAME
    • Dumb Youtube Stuff
Re: maps
« Reply #1 on: December 11, 2008, 10:50:57 PM »
In the second page of the Event Editor, look for "Memorize Position" and "Recall to Memorized Position" (6th and 7th button down respectively). Memorize Position lets you save the map you were on and the hero's position on it into variables. Recall to Memorized Position takes you back to it.

Hope that helps.
Logged

Offline ShadowStorm

  • Member
  • Initiate
  • *
  • Posts: 3
Re: maps
« Reply #2 on: December 11, 2008, 11:03:27 PM »
hmm, i'm using rpg maker xp so...
well, i got the map part right now i gotta find a way to save the coordnets
edit: alright i got it! and just to help other people...who use rpg maker xp
common event:
-Variable[0001: Map]= Map ID
-Variable[0002: X Coords]= Player X Coords
-Variable[0002: Y Coords]= Player Y Coords

then at your tent make your exit have:
-Change Items: [Tent] +1
-Teleport: By Variables [0001][0002][0003]
« Last Edit: December 11, 2008, 11:33:46 PM by ShadowStorm »
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • maps
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum