Five cocks have escaped the chickery. When you reach a chicken a text appears : Return the chicken to the hen-house? Yes-No.
When yes : the cock disappears and a switch (Chicken number 1 is found) is ON,
when that switch is ON, (the chicken appears back at the hen-house, at a pre-disposed place.
Where I am struggling is to make the chicken appear back at the chickery.. It seems I am having problems with meddling around with the switches...
You'll have 2 events for each chicken. One outside, and one inside. They will both use the same switch. For your outside chicken event, put the chicken sprite on the first page, and the second page will have no sprite, and will be conditioned by the switch. For the inside chicken event, just give it one page, with the chicken sprite, and use the same switch as a condition. You don't need a blank first page with no switch.
I also suggest you use a variable as well, incrementing it by one each time you catch a chicken. That will allow you to check if the variable is equal to 5, to indicate you've caught them all, rather than having to check 5 switches to see if they're all on.
The first part is fine with me, I find the chicken and it disappears. Though if I put the sprite on one page for the inside chicken, it appears immediately without me even triggering the switch?
If you set the condition to that same switch, it will not appear until that switch is turned on.
if those advices don't help, we need to see screenshots of your event pages to find out where you made a mistake - probably in the page ordering would be my guess.
I really don't mean to sound like I bite the hand that feeds, I need your support and will always be very very thankful for the time each and everyone puts in this thread. I suppose one quest can be achieved in several manners, though, if these *simple* advices are all I need yet I can get lost along the way, I could possibly use more specifics to help me along, how can a sprite only appear when a switch is turned on, when I let the event know that it's using the image of a chicken, from the dozens of tries I had to do , a condition does not prevent an image from showing up
Switches are like light switches. If you only have one page in an event, and it needs to be turned on by a certain switch (set in the conditions) you will have no "light" until that switch is on. Like Andar said, if you feel you've tried what we said and it didn't work correctly please post screenshots of the event pages so we can see if there is something wrong with it. Sometimes small things that are easy to overlook can cause big problems.
I think if OP is struggling with basic events, then script calls aren't going to be easier.
So, you're saying that event 37 is showing up, before you activate event 36?
One thing, you don't need to control that switch at the beginning of event 36, unless you have previously turned the switch on somewhere else. Which leads me to ask - is there another event where you have used this switch?
I checked the whole map, this is the only place where the event is triggered. Curiously, I tried having the inside chicken appear when the party has a certain item and it worked but if you remove that item, the chicken will disappear as well. so I really ought to use a switch.
yes event 37 is showing up before 36
Could you in turn post images of this simple quest as to how you would have it work? I mean I'm not a newbie, it's true that I am struggling with this simple quest but I've been around since XP and I've dealt with more complex coding than this...
What is on page 2 of your outside chicken event?
Are you using switch 3 for anything else? Do you have any plugins, and are you using switch 3 for any of those?
You don't need to use a self switch - you can just condition the second page of the outside event by the same regular switch.
Are you starting a new game, or are you loading a saved game, when you try to test it?
There is nothing different there to the method of using a regular switch.
If the above works and the original method with the switch does not, then I'm going to say you've probably used that switch for something else - which is one of the questions I asked you previously but you didn't answer.
Unless it's been changed, the Event Searcher won't search in the database (switches in common events, switches in troop events), and won't search through the conditions on event pages. Obviously, it also won't search plugins. So it'll only show it to you if you've got an event somewhere else that turns the switch on. Worth a shot, but no results doesn't mean it isn't used.