New account registration is temporarily disabled.

CRYSTALSF91'S PROFILE

I have high-functioning Autism. My brain is wired differently. When given a task, I expect to be given explicit details as to how it's done or I fuck up. I can't process information without all the details.

Search

Filter

Variables don't seem to want to work in RMVX Ace for me.

author=Marrend
...Er, did you mean to make a comment after quoting me?

*Edit: Such as "This works, thanks a bunch!" or... something?


No, Marrend.

And I'm trying what Piano suggested, even the screen shots, and it still doesn't work...

Variables don't seem to want to work in RMVX Ace for me.

Tried that now, not working still.

Variables don't seem to want to work in RMVX Ace for me.

author=Marrend
From what I'm understanding, the second page would be activated via Action Button, and would require Self-Switch A to be activated. Maybe screenshots would help? Now, granted, what I'm doing here is slightly different from what piano is suggesting, but, I'm mostly certain that it's essentially the same thing.

Page 1

Page 2

You only have to enter the room once.


*Edit: Now, I could be wrong on this point, but, I believe it's possible to make the contents of Page 1 a Common Event, rather than just have the variable-check be a Common Event.

*Edit2: Though, I'm beginning to think that "Page 1" is to be called every single time players enter a room, not just the first time? It can be made to work like that, but, maybe, a bit of clarity on this point would be appreciated.

The Basics of Variables

I would like some explicit information on something I'm trying to make. I'm trying to add a variable each time my character visits a room, and once she has gone to every room, the game ends.

I have Autism, and I want to get the job done right, so please give me all the details, like the checkboxes in the Conditiosn panel of the event window, the triggers, the priority level.

Variables don't seem to want to work in RMVX Ace for me.

Pianotm, it's not working. And you're being a little too vague, like do I need to set the second page to action button? Do I need to activate the variable checkbox? When I ask for help, I expect someone to be thorough in their tutorial or advice.

I have Autism, and unless I have all the details, I can't process the information properly to do what I need to do.

Variables don't seem to want to work in RMVX Ace for me.

author=pianotm
It's automatic for parallel process. Either make a switch for it and turn it on in your map event, or just tie it to a switch that turns on and stays on before exploration begins.

Parallel process needs to be on for both the common event and the map event, because the map event needs to be able to count, and then check the common event to see if it's reached the right number. If the common event isn't set to parallel process, it can't do that. Don't set it to autorun, though, because when your map event checks the common event, it'll stop all processes and wait for the variable to reach the designated number (infinite loop).

Just, whatever switch you put in your common event, make sure it's on.


Okay. Just to warn you, I don't quite understand variables yet, but it's needed for my game. So I'm just seeking help to clarify things.

Variables don't seem to want to work in RMVX Ace for me.

author=pianotm
Okay...let's start.

Create a common event named "Rooms visited", and set it to parallel process. In this common event, create a conditional branch that looks for that variable. For my example, we'll say 9.

@>Conditional Branch: Variable [0001:Rooms Visited] ==9

@>Game Over
@>
: Else
@>
: Branch End
@>


Simple enough.

Now in one of your rooms, create an event set to parallel process. Activate a control variable that adds one to your "Room Visited" variable. After the variable command, call your "Room Visited" common event. Turn on a self switch (if you don't, the variables will just add up infinitely) that turns the event to the second page. Copypasta this event to every room you want to have this effect in.

So, it should look like:

@>Control Variables: [001:Rooms Visited] +=1

@>Call Common Event: [001:Rooms Visited]
@>Control Self Switch: A=ON


The only problem with this, is that it won't add to the variable if you enter the room a second time.


Do you need the variables switch in the conditions panel of the events window checkedmarked on?

Variables don't seem to want to work in RMVX Ace for me.

author=pianotm
Okay...let's start.

Create a common event named "Rooms visited", and set it to parallel process. In this common event, create a conditional branch that looks for that variable. For my example, we'll say 9.

@>Conditional Branch: Variable [0001:Rooms Visited] ==9

@>Game Over
@>
: Else
@>
: Branch End
@>


Simple enough.

Now in one of your rooms, create an event set to parallel process. Activate a control variable that adds one to your "Room Visited" variable. After the variable command, call your "Room Visited" common event. Turn on a self switch (if you don't, the variables will just add up infinitely) that turns the event to the second page. Copypasta this event to every room you want to have this effect in.

So, it should look like:

@>Control Variables: [001:Rooms Visited] +=1

@>Call Common Event: [001:Rooms Visited]
@>Control Self Switch: A=ON


The only problem with this, is that it won't add to the variable if you enter the room a second time.


I tried something similar to that, but I guess I forgot a few things. Thank you. I'll try them.

Variables don't seem to want to work in RMVX Ace for me.

I'm trying to create a control variable called "Rooms Visited" that is added when you enter a room for a game, and if a certain number of said control variables is met, the game is supposed to end. But it doesn't seem to work. Can you help me?

How to make stores have limited goods?

This thread is now closed. I thought of something that might work just as well. But thank you all for your suggestions. ^_^