ReSpawnable Event

Solis

Veteran
Veteran
Joined
Oct 24, 2015
Messages
376
Reaction score
84
First Language
English
I am using a day/month/season or time plugin that changes automatically. Every day, I want the "Flower" to respawn. 

I have figured the respwaning part out: 

My problem is, I can get he flower to respawn but only on days following the previous day. For example, if I pick the flower on Monday, but skip Tuesday, the flower will not respawn on Wednesday. 

I have set the events up into 8 pages: 

Sunday-Wednesday Each with an Action Page that loots the flower

Then I have four parallels processes page with Self Switchs on A, B, C and D. These switches will auto activate on the following day to avoid infinite looping. Then, I create Conditional Branches on each of the self switches to auto turn of the switch on the next day for the event to respawn. 

Like I said, the events will respawn if I loot on Monday, then loot the flower on Tuesday; however, if I loot on Monday, skip Tuesday, then try to loot the flower on Wednesday it will not work and the flower will not respawn until the following Tuesday. 

3.png

4.png

5.png

6.png

7.png



8.png
 

Tagris

Veteran
Veteran
Joined
Oct 22, 2015
Messages
35
Reaction score
12
First Language
English
Hm, I think you could achieve this with variables instead of self-switches...

but could you share your process that is changing the days of the week?
 

Solis

Veteran
Veteran
Joined
Oct 24, 2015
Messages
376
Reaction score
84
First Language
English
Hm, I think you could achieve this with variables instead of self-switches...

but could you share your process that is changing the days of the week?
Thank your feedback. The plugin changes the based on timer that auto turns off and on switches; this process work just fine. I have no issue with my plugin. However, if I were to use variable, as I have tried, the variable would continuously re spawn and have to be checked; see, I only want the flower to respawn one time per day, so I have set up self=switches to verify this process. Then, a when it switches to a self switch, such as seen in tab 5 of my images, I have a parallel process that checks the day of the week. If it is Sunday, turn self switch "D", and then flower will respawn.  I did it this way because any other way I have tried to do this, will not respawn the image on the map if you are not present; however, a switch acts a larger check...whcih means when I go onto the map that says Monday, once the map loads that flower will spawn. It works. The event works as intended except the one issue I am having. 

Once again. Thanks a lot!!!
 

Tagris

Veteran
Veteran
Joined
Oct 22, 2015
Messages
35
Reaction score
12
First Language
English
Hmm I think that information would have been helpful, but let me offer this:

If your event pushes it based on a conditional branch that is reset by every other day, then the item will respawn and it won't matter if you skip a day.  As long as the variables are being controlled by a common event.

By using the self-switches it requires you to be on that screen and you can have trouble based on missing days.

I think it would work if it looks like this:

Page 2:

Monday Switch On

Conditional Branch based on: Variable - Monday Flower : 1

Text: Woah, I already picked this flower...duuuude.

Else

Text: Found a flower, want to pick it?

Yes:
Flower added to inventory

Text: You pick the flower

Monday Flower Variable +1

No:

Text: You leave the flower alone.

-----

Now your common event will reset all other days of the week.

Common Event (Monday Switch)

Flower Tuesday Variable = 0

Flower Wednesday Variable = 0

Ect Ect. for all days except the day of the switch (Monday in this case)

Since the common event will run every day, regardless of what screen it is on...and variables are tracked in the system regardless of maps, if you skip days the flower will still repopulate.

You could use this same process to make it so that it only repopulates once a week or two times a week, just using the common event and the day switch.

I prefer to use variables over switches for this, as my variables are usually open to be utilized, while my switches get used up very quickly and can get messy.  So for item collection, I use variables...just keeps my game cleaner.

I hope this helps!  Thanks
 

Solis

Veteran
Veteran
Joined
Oct 24, 2015
Messages
376
Reaction score
84
First Language
English
I'd have to keep a different variable for each flower then? Anyway, I'll take it look at it but if someone could look at my screen shots and see what maybe is going wrong or if it's just not possible...I'm like for sure thinking my event setup should work but can't figure out why it has to go in order from Sunday(loot,), then Monday(loot,) etc...why can't I skipe looting on Monday and then loot again on Tuesday. 

I have figured it out: I overlooked a simple switch. Basically, every day has to turn of the same self switch except for the day that item was looted. For example, if you want to loot on an item, make a switch for Sunday; then have it turn self switch a on. Then, every other day will turn that switch off to reset the event. Make this switch appear every day of the week for max affect. Self switches assure this will work for multiple items...hopefully my explanation isn't too confusing. 
 
Last edited by a moderator:

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,050
Messages
1,018,548
Members
137,835
Latest member
yetisteven
Top