I'm not sure how to go about this, so I'd try to go in order:
I have a piece of coding as a common event as follows:
(Note: Missing, console logs before each show balloon icon and after)
I intend to have a varying number of events (should vary from 0 to 8) call this common event once during parallel processing:
(Note: Substituted the code into the map event for testing reasons. Normally each event just calls the common event and turns on a self switch [C in this case])
One event (currently an action event) changes the self switch of the other events that need to execute the common event coding (The self switches [B in this case] turn on successfully judging on my console logs).
So, going over again:
i) Event A (action event) runs and turns on other events' self switch B.
ii) While Event A is running, the other events' parallel process (via self switch B ) triggers and executes code to make them jump in surprise.
iii) The other events disable this page by turning on self switch C.
iv) The other events remain idle until Event A reaches another point in their coding.
The game crashes under various conditions:
1) As is:
When more than 1 event runs the common event code, it crashes before the "After Jump" console.log (Cause: Movement Route?).
2) With Set Movement Route Wait disabled:
When more than 1 event runs the common event code, it crashes after a console log at the end of the coding (after the conditional branch).
A) Game does not crash when 1 event with the parallel process exists on the map.
B ) When I test it with more than 1 such event, it crashes.
C) I tested it with two such events, one whose trigger for the common event coding was possible, the other not
(I changed the self switch (B ) required for the parallel process to work. So 1 event needed B, the other C). It still crashes.
I noticed it's probably risky using the same variable for the randomness, so I changed each use to a different variable. Still crashed. Odd thing is that in scenario (2) the code seemingly reaches the end of that common event. The next page of the map events is just an empty action event page that requires self switch C to be on.
Can parallel events not execute the same movement route command? Or show balloon command?
It's troublesome to replicate because the playtest screen becomes a static-like black and white image that causes my display drive to crash (and soon recover). (It also somehow permanently messed up the display of one chrome tab :/ Refreshing it produced the same distorted image, but that's going off-topic lol)
Edit: The display drive crashing problem only happened when I tried to take screenshots. Otherwise, I've so far replicated the crash without affecting my pc.
I have a piece of coding as a common event as follows:
(Note: Missing, console logs before each show balloon icon and after)
I intend to have a varying number of events (should vary from 0 to 8) call this common event once during parallel processing:
(Note: Substituted the code into the map event for testing reasons. Normally each event just calls the common event and turns on a self switch [C in this case])
One event (currently an action event) changes the self switch of the other events that need to execute the common event coding (The self switches [B in this case] turn on successfully judging on my console logs).
So, going over again:
i) Event A (action event) runs and turns on other events' self switch B.
ii) While Event A is running, the other events' parallel process (via self switch B ) triggers and executes code to make them jump in surprise.
iii) The other events disable this page by turning on self switch C.
iv) The other events remain idle until Event A reaches another point in their coding.
The game crashes under various conditions:
1) As is:
When more than 1 event runs the common event code, it crashes before the "After Jump" console.log (Cause: Movement Route?).
2) With Set Movement Route Wait disabled:
When more than 1 event runs the common event code, it crashes after a console log at the end of the coding (after the conditional branch).
A) Game does not crash when 1 event with the parallel process exists on the map.
B ) When I test it with more than 1 such event, it crashes.
C) I tested it with two such events, one whose trigger for the common event coding was possible, the other not
(I changed the self switch (B ) required for the parallel process to work. So 1 event needed B, the other C). It still crashes.
I noticed it's probably risky using the same variable for the randomness, so I changed each use to a different variable. Still crashed. Odd thing is that in scenario (2) the code seemingly reaches the end of that common event. The next page of the map events is just an empty action event page that requires self switch C to be on.
Can parallel events not execute the same movement route command? Or show balloon command?
It's troublesome to replicate because the playtest screen becomes a static-like black and white image that causes my display drive to crash (and soon recover). (It also somehow permanently messed up the display of one chrome tab :/ Refreshing it produced the same distorted image, but that's going off-topic lol)
Edit: The display drive crashing problem only happened when I tried to take screenshots. Otherwise, I've so far replicated the crash without affecting my pc.