I need a help to my loop....

Status
Not open for further replies.

henning

My Avatar when I played Martial Art
Member
Joined
Feb 20, 2014
Messages
27
Reaction score
1
First Language
norwegian
Primarily Uses
If I can get help to my loop ?

@show choices: key, no
: when [key]
@>text: here you are
@>text: now go away
@>
: when [no]
@>text: bye
@>
: branch end
@>break loop
@>

My problem is that every time I come back it start again to give a key. to give a key is only one time to do, so I have not got it.
Why I made a loop so player have the opportunity to make a wrong but when you got the key it stop.
Any idea?

Here some picture of my loops am using in my game called old pirate.

I do also have a compressed game file if you are interesting to look at ?

But I forgotten where I can uploaded to.

















 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,367
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
please give a screenshot of the entire event, you didn't even include the loop commands in that one, and it would also be better if we can check the non-content-part of the event for errors.
 

Baka-chan

☆*:.。. o(≧▽≦)o .。.:*☆
Veteran
Joined
Dec 19, 2012
Messages
490
Reaction score
148
First Language
German
Why do you want to use a loop there? If you want the player to go back to the conditional branch beginning you could add a label infront of the conditional branch and a jump to label inside the no condition. That way it will loop until the player decides to take the keys.

To stop the event from giving the key again activate a self switch that leads to an empty 2nd page (or one with some other text inside).

Example:



 

henning

My Avatar when I played Martial Art
Member
Joined
Feb 20, 2014
Messages
27
Reaction score
1
First Language
norwegian
Primarily Uses
please give a screenshot of the entire event, you didn't even include the loop commands in that one, and it would also be better if we can check the non-content-part of the event for errors.
That all I have of events.

You can check upload there you will find everything I have, the game called old pirate.

Hope that helps.

 

Why do you want to use a loop there? If you want the player to go back to the conditional branch beginning you could add a label infront of the conditional branch and a jump to label inside the no condition. That way it will loop until the player decides to take the keys.

To stop the event from giving the key again activate a self switch that leads to an empty 2nd page (or one with some other text inside).

Example:



 

Thanks I can fix that.
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Please don't answer a "can you give us a screenshot" with a "here's the project - download it, guess what map it's on, guess what event I'm having trouble with"


It's not difficult to take and post a screenshot, and you're the one asking for the help - don't make people who WANT to give you that help have to do a whole heap of extra work just to provide it.


If you want them to just keep asking you each time you talk to them until you say yes, you don't need ANY loop or label/jump commands. Leave out the label and jump to label from the screenshot above (otherwise it's going to KEEP asking you until you say yes, not even letting you walk away, so what's the point of giving a choice at all?)
 

henning

My Avatar when I played Martial Art
Member
Joined
Feb 20, 2014
Messages
27
Reaction score
1
First Language
norwegian
Primarily Uses
Please don't answer a "can you give us a screenshot" with a "here's the project - download it, guess what map it's on, guess what event I'm having trouble with"

It's not difficult to take and post a screenshot, and you're the one asking for the help - don't make people who WANT to give you that help have to do a whole heap of extra work just to provide it.

If you want them to just keep asking you each time you talk to them until you say yes, you don't need ANY loop or label/jump commands. Leave out the label and jump to label from the screenshot above (otherwise it's going to KEEP asking you until you say yes, not even letting you walk away, so what's the point of giving a choice at all?)
yup you right, and now is perfect.

Thanks to you all for helping me.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,085
Members
137,584
Latest member
Faustus2501
Top