Farming event

● ARCHIVED · READ-ONLY
Started by ncognito 3 posts View original ↗
  1. So im trying to make a farming event and for the most part i have it working fine but i am having one little problem on the 2nd page of the event. Here is what i want to happen.

    Page 1:

    • the player presses the action button in the farming area to plant the seed if the player has a shovel and seeds in inventory.
    • If planted it will turn Self Switch A on and change to event page 2.
    Page 2:

    • The player can press the action button on the event again to get a little msg saying "your crops are growing"
    • Wait command for the crops to grow after a certain amount of time.
    • after the allotted time has passed Self Switch B is turned on and event changes to page 3.
    Page 3:

    • The crops are able to be picked 
    • Self Switch A is turned off
    • Self Switch B is turned off afterwords returning event back to page one so that seeds can be replanted.
    Now my only problem is with page 2. I can get the crops to grow after the allotted time passes but. when you press the action button on the event it dosent say  "your crops are growing". I tried doing a conditional branch "if player is pressing "Button Z" then say "your crops are growing" but i couldnt get it to work like that either. Page 2 is on a parallel process. if someone can help me figure this out i would appreciate it very much.
  2. You'll have a much easier time if you move the wait time and automatic switch-handling to another event. Its usually not smart to put an "effect over time" and an "action button effect" on the same page of an event - works much better if you have another event handle the effect over time. Either use a normal Switch instead of a Self Switch, or use the Script Code for turning on a different event's Self Switch (which I dont have in front of me but shouldn't be too hard to find).
  3. Please post screenshots of your event pages if you want detailed help.


    However, Wavelength is correct - your farming event might have three "crop stages", but most probably you'll need either more than three pages or a script to make those three cropt stages a reality. I suggest not to use a timer script but use multiple pages for the timed processes.