I have this planting event that triggers a common event (parallel process) that is set to wait some time and then turn the switch off. The plant type is controlled by variables, so isn't really important here. What's important is that the common event is either resetting when i leave the screen and come back, or doesn't continue running when the player leaves the map. But that was why I used a common event in the first place, so that the player could plant something and go off and do other things while they waited.
The events are more complicated than this, but the simpler version is:
-------------------------------------------------------------------------------------------------------------
Plotx Event:
Page 1
Show Choices:1,2,3,4 (plant types)
When [1](repeats with slight differences for 2,3, and 4)
Conditional Branch [item] in inventory
Change items [item]
Control Variables: [plotx] = 1
Control Switches: [plotx] = on
Page 2(repeated for plant types 2,3, and 4)
(grown plant graphic)
Event Condition Variable [Plotx] is 1 or above
Text: Picked [1]!
Change Items: [item], +2
Control Variables: [Plotx] = 0
Page n (Last)
(plant sprout graphic)
Event Condition Switch [Plotx] = on
---empty---
Common Event (Plotx):
Trigger: Parallel Process
Condition Switch: [Plotx]
(repeated for each variable possibility)
Conditional Branch: Variable [Plotx] == n
Wait "n" frames
Control Switches: [Plotx] = off
-------------------------------------------------------------------------------------
Now, I'm sure there's a better way of doing it, but it seemed like this way should have worked out fine. However, when I leave the screen for a reasonable time and come back, nothing is grown. As if I've got to stay in the farming map for the plants to grow. Is this just how common events work? Because I was under the impression that common events were special in that they kept going regardless of the screen you're in. So based on that understanding, I can only assume I've set it up wrong somehow. Can someone please enlighten me?
The events are more complicated than this, but the simpler version is:
-------------------------------------------------------------------------------------------------------------
Plotx Event:
Page 1
Show Choices:1,2,3,4 (plant types)
When [1](repeats with slight differences for 2,3, and 4)
Conditional Branch [item] in inventory
Change items [item]
Control Variables: [plotx] = 1
Control Switches: [plotx] = on
Page 2(repeated for plant types 2,3, and 4)
(grown plant graphic)
Event Condition Variable [Plotx] is 1 or above
Text: Picked [1]!
Change Items: [item], +2
Control Variables: [Plotx] = 0
Page n (Last)
(plant sprout graphic)
Event Condition Switch [Plotx] = on
---empty---
Common Event (Plotx):
Trigger: Parallel Process
Condition Switch: [Plotx]
(repeated for each variable possibility)
Conditional Branch: Variable [Plotx] == n
Wait "n" frames
Control Switches: [Plotx] = off
-------------------------------------------------------------------------------------
Now, I'm sure there's a better way of doing it, but it seemed like this way should have worked out fine. However, when I leave the screen for a reasonable time and come back, nothing is grown. As if I've got to stay in the farming map for the plants to grow. Is this just how common events work? Because I was under the impression that common events were special in that they kept going regardless of the screen you're in. So based on that understanding, I can only assume I've set it up wrong somehow. Can someone please enlighten me?