View previous topic :: View next topic |
Author |
Message |
Meatballsub Divine Bovine

Joined: 16 Jun 2003 Posts: 437 Location: Northwest Georgia
|
|
Back to top |
|
 |
msw188
Joined: 02 Jul 2003 Posts: 1041
|
Posted: Sat Oct 06, 2007 10:29 pm Post subject: |
|
|
You can store the x and y coordinates in global variables before teleporting the hero away. This does not work if the hero exits the map using a standard door as defined in custom, but the solution is simple: do not use custom-defined doors at all, and handle all map-exiting with NPCs and plotscripts. That way you can save the player's x and y coordinates as they leave no matter what. _________________ My first completed OHR game, Tales of the New World:
http://castleparadox.com/gamelist-display.php?game=161
This website link is for my funk/rock band, Euphonic Brew:
www.euphonicbrew.com |
|
Back to top |
|
 |
Ysoft_Entertainment VB Programmer

Joined: 23 Sep 2003 Posts: 810 Location: Wherever There is a good game.
|
Posted: Sun Oct 07, 2007 5:26 am Post subject: |
|
|
msw188 wrote: | You can store the x and y coordinates in global variables before teleporting the hero away. This does not work if the hero exits the map using a standard door as defined in custom, but the solution is simple: do not use custom-defined doors at all, and handle all map-exiting with NPCs and plotscripts. That way you can save the player's x and y coordinates as they leave no matter what. |
I would also like to point out that there is a new feature in Ubersetsung that lets you save npc data and tile data when exiting the maps. All you have to do is go into general map data and enable them.
here is the screenshot
set those two to remember state when leaving. _________________ Try my OHR exporter/importer.
OHRGFX
Striving to become better pixel artist then Fenrir Lunaris. Unfortunately the laziness gets in the way of my goals. |
|
Back to top |
|
 |
Meatballsub Divine Bovine

Joined: 16 Jun 2003 Posts: 437 Location: Northwest Georgia
|
|
Back to top |
|
 |
|