TRIHAN'S PROFILE
Search
Filter
McBacon Jam 4
Horizon Zero Dawn (alternative title: How the Hell Isn't There Already a Topic About This?)
To be fair the tutorial section isn't very long and after that she's grown up, so it's not a huge problem. :P
Kong: Stat Island
McBacon Jam 4
Horizon Zero Dawn (alternative title: How the Hell Isn't There Already a Topic About This?)
[RM2K3] Switches and Variables questions
Okay, so a switch is kind of the equivalent of a light switch. Either it's on, or it's off. You can then have branching outcomes in an event based on whether it's on. For example, you have a treasure chest with an item in it, and obviously you only want the player to get the item once. So you turn a switch on after you get the item, and have a second event page in the chest event which requires that switch to be on. Then, when you get the item, the second page will take precedence, and the player will no longer be able to get the item.
Variables, although less experienced users tend to think they're some kind of eldritch magic, aren't much more complex. It's just that rather than having on or off as possible states, variables can have a value anywhere from 0 to the maximum numerical value a variable can have.
So let's say you have a sidequest where you have to find a number of objects on a map, and in an event you need to be able to check that the player has them all. In each object's event, you would add 1 to a variable and then in your check event you can look for the variable being equal to the number of objects you had to find.
You could also use a variable to track which part of a multi-part quest the player is on. You'd just set it to the next number up when they complete each part, and you can then have an event check what part they're on for figuring out character dialogue and stuff.
Variables, although less experienced users tend to think they're some kind of eldritch magic, aren't much more complex. It's just that rather than having on or off as possible states, variables can have a value anywhere from 0 to the maximum numerical value a variable can have.
So let's say you have a sidequest where you have to find a number of objects on a map, and in an event you need to be able to check that the player has them all. In each object's event, you would add 1 to a variable and then in your check event you can look for the variable being equal to the number of objects you had to find.
You could also use a variable to track which part of a multi-part quest the player is on. You'd just set it to the next number up when they complete each part, and you can then have an event check what part they're on for figuring out character dialogue and stuff.
Ara Fell
McBacon Jam 4
Hobby to Profession, Looking for success stories
Well my day job is a .NET Developer, but I make some pretty tidy profit by doing plugin/script commissions for RM users. Not sure if you'd count that as a success story.














