so thats mean i just has to add the switch to the action/dialogue?Yes, it's quite straightforward, but needs care and attention and does add work.
You present your choice which sets a switch so that the game knows which choice was taken. Thereafter, at all relevant points, you need to have a conditional branch in your event(s) which gives actions/dialogue depending on whether that switch is ON or OFF.
wow! seriously this really help me! anyway sorry for the "confusing reply", im not really good in english so i can't really translate my words in better oneYour reply is a bit confusing, so I'm not quite sure what you are referring to. You need to add the switch at the time the choice is made, and then later on event the alternatives depending on which choice was taken. Here is a silly example to show what I mean:
At the time of the choice, it would go something like this.
[use 'Show choices' event command] Kill the rat? Spare him?
If 'kill the rat'
Show text: "You deserve to die"
Change graphic to down sprite
Control Switch [number] Killed thief ON
If "Spare him"
Show text "You are lucky that I am merciful"
[plus whatever else]
Control Switch [number] Killed thief OFF
You still need to create that switch, even though it is OFF, because otherwise the game has nothing to check against.
Then at e.g. your ending:
Conditional Branch Control Switch [number] Killed thief ON
Show text: You had the chance to show mercy, but preferred revenge.
Bad ending [which may involve a lot of eventing]
Else:
show text: You showed mercy to a wretch, therefore I will show mercy to you
Good ending
The commands used in that example are basic event commands, there is no tutorial dedicated to them - you need to look for event tutorials in general (and you would need to learn eventing anyway to create your quests, choices, and their results).wow! seriously this really help me! anyway sorry for the "confusing reply", im not really good in english so i can't really translate my words in better one
btw did you know any tutorial that has this choice system in it?
and again thx for the help!
yep its seriously useful! ill check out the tutorial you give! thx again!I'm glad it was useful. As for tutorials, I'm afraid that I haven't looked at any for some time, so I'm not sure which one has anything about the choice system. However, here is a link to Andar's very helpful selection of tutorials etc. and you will almost certainly find what you are looking for there. http://forums.rpgmakerweb.com/index.php?showtopic=14727
i see.....so the choice is only command =.=" ah...i should known it xPThe commands used in that example are basic event commands, there is no tutorial dedicated to them - you need to look for event tutorials in general (and you would need to learn eventing anyway to create your quests, choices, and their results).
Follow the link in my signature to a basic tutorial that will guide you to the other tutorials that exist.
O_O i didn't know RM can do flag system.....i still have a long way to go.......Choices and Differnt Endings can be done in two ways (or both). Switches or Variables.
If you know how visual novels work, they have what they call a "flag."
Basically, when you make a correct choice, a variable, for example named Rin, will have a +1. The value of the variable determines what routes you'd end up on. Switches are helpful if you want to have specific scenes to appear if you do a previous scene for example.
There's no tutorial about it since it's very easy to apply, but what makes it hard is that you need to plan out your scenes and when do you need to apply them.