- 3
- Posts
- 3
- Years
- Seen May 2, 2022
Hello, all. First post, but have a small project I've been putting together for a little while for my first fan game. Sorry if this is a repost of a previously asked question, but I searched for a while and as far as I'm concerned, I haven't seen any questions relating to the issue I've encountered.
Essentially, my game is meant to be very story based. To progress the story, my game raises the VARIABLE ### of a set VARIABLE to advance your progress in a quest. NPCs and items will react accordingly based on the ### of the VARIABLE until you've completed the quest and the game moves on the next QUEST with a new VARIABLE to mark it's progress.
Here's my issue... When opening the game one day, I found that the NPCs in my STARTING MAP broke for seemingly no reason. They will not speak at all. Already set to activate with PLAYER INTERACTION, but no DIALOGUE dependant on the VARIABLE, no FAIL SAFE DIALOGUE in case the VARIABLE CHECK fails. Already checked to make sure no other AUTO-RUN EVENT was already active. Interacting with them will not begin the event which gets them to speak. Already checked to make sure the VARIABLE is the same ### for the expected DIALOGUE, and it is.
Strangely enough, an NPC who also follows the same VARIABLE CHECK rules in the same STARTING MAP still seems to work perfectly. As far as I've checked, her code is the same as all the other broken NPCs, except for whatever reason, she will still spit out her lines.
COPY- PASTING the code of the broken NPC into a new NPC seems to fix this issue for that one NPC... but my concern is that this issue will occur again at a later stage and I either won't catch it, or it will be an even larger task to correct. Already tried RESTARTING the game, RESTARTING the save multiple times, RESTARTED my PC. Is this a nasty BUG and I'm the only one whose encountered it? Is there a fix anyone can suggest that is more reasonable and long term than "rewrite the NPC's and their code again"?
Haven't provided the code I've written, but can do that if necessary... not sure it matters though, as I'm almost absolutely sure the CODE should work as I expect for it to, it just doesn't.
Only thing I've changed since my NPCS were working was a small EVENT where the game requires you to name your POKEMON, but the AUTO-RUN nature of the EVENT isn't active, and doesn't activate at the start of the game... so I don't expect this to have actually caused the issue.
Essentially, my game is meant to be very story based. To progress the story, my game raises the VARIABLE ### of a set VARIABLE to advance your progress in a quest. NPCs and items will react accordingly based on the ### of the VARIABLE until you've completed the quest and the game moves on the next QUEST with a new VARIABLE to mark it's progress.
Here's my issue... When opening the game one day, I found that the NPCs in my STARTING MAP broke for seemingly no reason. They will not speak at all. Already set to activate with PLAYER INTERACTION, but no DIALOGUE dependant on the VARIABLE, no FAIL SAFE DIALOGUE in case the VARIABLE CHECK fails. Already checked to make sure no other AUTO-RUN EVENT was already active. Interacting with them will not begin the event which gets them to speak. Already checked to make sure the VARIABLE is the same ### for the expected DIALOGUE, and it is.
Strangely enough, an NPC who also follows the same VARIABLE CHECK rules in the same STARTING MAP still seems to work perfectly. As far as I've checked, her code is the same as all the other broken NPCs, except for whatever reason, she will still spit out her lines.
COPY- PASTING the code of the broken NPC into a new NPC seems to fix this issue for that one NPC... but my concern is that this issue will occur again at a later stage and I either won't catch it, or it will be an even larger task to correct. Already tried RESTARTING the game, RESTARTING the save multiple times, RESTARTED my PC. Is this a nasty BUG and I'm the only one whose encountered it? Is there a fix anyone can suggest that is more reasonable and long term than "rewrite the NPC's and their code again"?
Haven't provided the code I've written, but can do that if necessary... not sure it matters though, as I'm almost absolutely sure the CODE should work as I expect for it to, it just doesn't.
Only thing I've changed since my NPCS were working was a small EVENT where the game requires you to name your POKEMON, but the AUTO-RUN nature of the EVENT isn't active, and doesn't activate at the start of the game... so I don't expect this to have actually caused the issue.