Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: CloudX on July 04, 2006, 06:04:54 PM

Title: need help with somthing
Post by: CloudX on July 04, 2006, 06:04:54 PM
Saw i am new in rpg maker 2003!
and i want to ask alot but lets start with this!
how can i make like "you cant go there ontil you get a book'
and onli when you get the book you can enter to some place
how can i do that and stuffs like that!
is it in the event thing?
could you please help me?
and another thing i have this problem with the tresure boxes like"when i open a box i get potion but it dont disaper i can get endless potions how can i fix that? :cry:
Title:
Post by: Bluhman on July 04, 2006, 06:16:46 PM
Hello, you silly fool! I would love to help you, but I cannot understand the way you type. Please use either a more solid translator, or learn english a little better. Thank you.

However, it does sound like what you want are switches. Look in this section a bit more before making threads like these; there's many things you can learn just by reading the threads in this section.
Title:
Post by: oooog on July 04, 2006, 06:39:41 PM
Yes, all it is is various usages of switches at certain times and at certain places.  When do you use switches you may ask?  Well, you can find out by, reading a tutorial, or just playing the good old game of trial and error, or whatever it is.  No pun intended.  Not sure what that means.
Title:
Post by: Shadowless1 on July 04, 2006, 07:21:36 PM
did you bother reading the rules?
it says no stupid questions, i suggest you go here: http://www.gamingw.net/tutorials/rm2k and learn the basics of RM2K3 first/ search for what your looking for then come back with a more serious question if you cant find what your lookign for.

sorry to sound like a complete arse
but basically u want an event, with else handlers
Title: I can solve your problem
Post by: distressed_gamemaker on July 04, 2006, 08:21:57 PM
Yes you need switches, but this is how you acheive what you want, you have the first page turn on a switch that will activate a second page that should have it where you receive something, and then it should turn on another switch that will activate a third page which will give you exactly what you want, ...... an empty chest!:king:
Title:
Post by: WarxePB on July 04, 2006, 11:16:59 PM
GameMaker, please post your question in a new thread.
Title:
Post by: Emerates on July 04, 2006, 11:41:37 PM
To anwer your question straight, I'm pretty sure you do this...

1: Make the Book/ Whatever in your database as an item
2: Make the event where you pick up the book turn on a switch called something like 'Obtain Book 1' or something so you remember what you're doing.
3: create the event that you want to be based on the possession of the item by making one page of the event be Same Layer As Hero, so you can't go through it.
4: make a new page with the precondition that the switch activated by obtaining the Book/Item is on, then set up your teleports or whatever you want to happen.
5: Then make a new page in that event with the switch on.  Set this one as a Parallel Process, with no graphic, and set the only operation as 'Erase Event', so you don't have to do it again.

OR you could try using the Conditional Branch on the third page, so that 'If Hero Does Not Possess: Book', the teleport won't work, and another branch so that if you do have it, the teleport will work.  Either way should work, but I'm still kinda new, so I still haven't really been able to try out everything yet either.

Try one and tell me how it works out.
Title:
Post by: joeleoleol on July 07, 2006, 04:02:19 AM
Its hard to explain it to you if you havent read a tutorial, or know anything about rpg maker for that matter.
Title:
Post by: Archem on July 07, 2006, 04:47:21 AM
ftw n00b!!!