unsure how to implement Variable for particular situation

● ARCHIVED · READ-ONLY
Started by jessicatammy 8 posts View original ↗
  1. Hi all, I'm very new to RPG Maker XP and am just staring to get the hang of it. I've read a lot of tutorials and looked over the forums but I'm not really understanding how to do this particular thing.

    Basically, I'm making a practice Pokemon game and I have an evil team invading a town. My plan for this event is... Once the player has spoken to every member of the team in town, they will disappear (via an event) and that will allow the player to progress to the next route. I have zero clue how to make all the NPCs disappear for that certain variable and how to fit the event into all of this. I'm sorry if this is an awful or difficult question. I would really appreciate the help, thank you :)
  2. Okay, whoever you want to disappear when you speak to everyone in town, add a second event page with EVERYTHING left as default, and add a Variable to the conditions above the sprite area. The number to put there is the number of people the player has to talk to.


    Now, on each person the player has to talk to, have two event pages. They will be almost identical, but the first one will add 1 to that variable then turn on a self switch, and the second one will use that self switch as a condition, just like you used the variable as a condition on the other events.


    If that's not understandable, explain more about who is invading, who you want to disappear, and who you have to speak to. Is it all the evil team? Once you speak to every member of the evil team, then the whole evil team will disappear?
  3. Thanks for a speedy & thorough response. Part of that is understandable, just a few things - I should leave all the variable settings as default? where is above the sprite area? I'm so sorry, variables are so new to me and I'm trying to learn with a combination of tutorials and practice. The second part of what you said makes sense.

    For extra info, basically 12 grunts of my evil team have come to this town. One has battled the player. They're blocking the exits and waiting for their boss to come back and pull them back, I guess. Just need a dialogue box from someone mysterious off screen for that. Once player has gone around town, finished that battle, and spoken to all the grunts, the event is supposed to trigger where their boss tells them to leave, and they all vanish. I can take that battle out if it makes things more complicated. I can also post screens of anything you need. Sorry if that was unclear at all.

    Forgot to add: there is a dying man who the player also should talk to. Once they do, he disappears (on account of being dead). I've definitely mastered that event, it's quite simple, but I'd like that to count too. If not, it can be worked around.
  4. If you're that new to the use of variables, then I suggest you play the variables guide.


    That game is made with Ace, so you can't simply copy the solutions - but the basics of variables are always the same, and it will help you understand what they and switches are used for - you can install the trial to look into the project.


    Follow the link in my signature, the variables guide is one of the tutorials linked there.
  5. I tried downloading that earlier when I came across it, but Chrome blocked the file as a virus. I'll try a different browser. Thanks :)
  6. Chrome gives you the option to say it's okay and download it anyway.
  7. Thanks, Shaz! I didn't know that but tried it out and it worked. Can't wait to play it today. I really appreciate your patience and help - if I still can't figure it out, may I come back and post a new topic? I don't want to clutter the forums. If not I will figure something else out. thanks. :)
  8. I'll leave this one open, and if you get what you need after playing it, just report this thread and ask for it to be closed. If you have further issues after playing it, just come back here and post an update.


    If your thread is ever locked, assumed resolved, and you find you need more help, please report it and ask for it to be reopened, instead of starting a new one. It makes things difficult when an issue is discussed over multiple threads.