Charas-Project

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

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • *SOLVED*Teleport and Teleporting Adventures
« previous next »
  • Print
Pages: [1]

Author Topic: *SOLVED*Teleport and Teleporting Adventures  (Read 2587 times)

Offline RockJohnAxe

  • I Pwn alot of stuff.
  • Zealot
  • *
  • Posts: 606
  • I Pwn alot of stuff.
*SOLVED*Teleport and Teleporting Adventures
« on: June 03, 2008, 01:26:45 PM »
Although its not as exciting as the title might hint towards, i am having some problems.  No, im not a completely useless newby and have tried several times myself with no avail.

Basically im trying to  have an item(Teleport Rune) that sets a point and another item (teleport Scroll) that lets you teleport to that point.

Ive got it to work on the Same Screen. but once you switch to another map the game crashes cause it cant find the event.

The only answer ive come up with, is making that event in every single map.

Does anyone have a good way to get this to work?

Any help is mucho appreciated.

Edit: tried my make the same event on all maps and its still crashing the game.
Logged

Offline RockJohnAxe

  • I Pwn alot of stuff.
  • Zealot
  • *
  • Posts: 606
  • I Pwn alot of stuff.
(No subject)
« Reply #1 on: June 03, 2008, 01:57:14 PM »
Well... after some further trouble shooting and reading some co-ordinate tutorials...

Ive learned one thing for sure...

X and Y co-ords   SHOULD NOT AND I MEAN SHOULD NOT, be recorded in the same Variable.

Its a recipe for Disaster.

So ive created my Rune Event in every single map... and it seems to be working so far.

If anyone has a better system please feel free to share.

But for now... i think ive managed to work out my problem.
Logged

Offline coreystranick

  • Exemplar
  • *
  • Posts: 1,085
(No subject)
« Reply #2 on: June 03, 2008, 02:08:19 PM »
why don't you just make a common event for it if your gonna do that on every map?
Logged

Offline Moosetroop11

  • Sage
  • *
  • Posts: 7,398
(No subject)
« Reply #3 on: June 03, 2008, 11:40:44 PM »
Yeah, do you know how variables work, man? They can be set as a number, that's all. When you set X to variable A it becomes the value of X, and then when you set Y to variable A it overwrites the previous number and Variable A becomes the value of Y.

You probably already realise that now, but better safe than sorry I guess >.>

And yeah, couldn't you just make the rune item activate a common event that 'memorises position' to three empty variables, and then make the scroll activate a common event that 'recalls to memorised position'? That'd be way easier.

You know how to use common events, right?
Logged
Maaaaaaaaaaaaaaaaaaaaaaaaaaan I missed this place.

Quote from: drenrin2120
Maaaaaaaaaaaaaaaaaaan I missed you.

Quote from: fruckert
Maaaaaaaaaaaaaaan I missed that welcome.

Offline RockJohnAxe

  • I Pwn alot of stuff.
  • Zealot
  • *
  • Posts: 606
  • I Pwn alot of stuff.
(No subject)
« Reply #4 on: June 04, 2008, 04:13:37 AM »
Thats pretty much what i ended up doing moose...

Although i had to clone the event to every single map to prevent the "cannot find event" Game Crash.

And after lots of testing... it works prefect :D

Thanks for all who "helped" :P lol
Logged

Offline coreystranick

  • Exemplar
  • *
  • Posts: 1,085
(No subject)
« Reply #5 on: June 04, 2008, 11:56:17 AM »
Quote
Originally posted by RockJohnAxe
Although i had to clone the event to every single map to prevent the "cannot find event"


Dude, commone event set to call(by event) or make the teleport rune a switch item, and have the switch be on, set the common event to activate when said switch is on and then make the memorize posistion in th comon event. Your game wont crach, trust me, my tent system in my game is made wtih the Tent as a switch, then I have a common event that is used to send you to the 'campsite'
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • *SOLVED*Teleport and Teleporting Adventures
 

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