My game features quests that can be completed again and again.
Below is how I managed to do this...
MY ISSUE HERE...
When I replay the quest, the quest is marked as FAILED...
What am I doing wrong? I've tried normalizing the quest upon taking it so it normalizes when I am transported to the level but it doesnt work...
Using RPMMV v1.5.1, latest Yanfly Quest Journal plugins.
Please help... my tiny brain hurts.
Side Question....
Below is how I managed to do this...
1.) Player selects quest. Variable QuestAssigned is equal to the
the first quest, so "QuestAssigned = 1". Player is transfered to
map, plugin command "Quest Add 1" adds Quest 1.
2.) Player collects items required for quest and delivers them.
Game checks what "QuestAssigned" is equal to, in this case
it is equal to ''1'', now the game knows what quest we're delivering
the items for and runs the following plugin commands:
3.) Player heads towards AIRSHIP to return to hub. Player touches
airship, airship runs a back-up check through event page:
Airship event page checks what "QuestAssigned" is equal to, in this
case, it is equal to 1 because we're doing quest 1. Airship checks
if the quest is completed through a "Conditional Branch / Script"
with "$gameSystem.isQuestObjectiveCompleted(1, 1)" being checked.
Everything is complete so the event continues to run. The following
plugin commands are called:
QuestAssigned is set back to 0.
The player is returned to the town.
The quest is ready to be completed again and the steps SHOULD repeat...
the first quest, so "QuestAssigned = 1". Player is transfered to
map, plugin command "Quest Add 1" adds Quest 1.
2.) Player collects items required for quest and delivers them.
Game checks what "QuestAssigned" is equal to, in this case
it is equal to ''1'', now the game knows what quest we're delivering
the items for and runs the following plugin commands:
"Quest Set Completed 1" Marks quest completed
"Quest 1 Complete All Objectives" Marks every objective available
as complete. (All quests have single objective, some have multiple)
"Quest 1 Complete All Objectives" Marks every objective available
as complete. (All quests have single objective, some have multiple)
3.) Player heads towards AIRSHIP to return to hub. Player touches
airship, airship runs a back-up check through event page:
Airship event page checks what "QuestAssigned" is equal to, in this
case, it is equal to 1 because we're doing quest 1. Airship checks
if the quest is completed through a "Conditional Branch / Script"
with "$gameSystem.isQuestObjectiveCompleted(1, 1)" being checked.
Everything is complete so the event continues to run. The following
plugin commands are called:
"Quest 1 Normalize Objective 1" Normalizes the objective for Quest 1
to be completed again if the quest is replayed.
"Quest Set Available 1" sets the quest to available, again, to be completed
if the player wishes to replay the quest.
to be completed again if the quest is replayed.
"Quest Set Available 1" sets the quest to available, again, to be completed
if the player wishes to replay the quest.
QuestAssigned is set back to 0.
The player is returned to the town.
The quest is ready to be completed again and the steps SHOULD repeat...
MY ISSUE HERE...
When I replay the quest, the quest is marked as FAILED...
What am I doing wrong? I've tried normalizing the quest upon taking it so it normalizes when I am transported to the level but it doesnt work...
Using RPMMV v1.5.1, latest Yanfly Quest Journal plugins.
Please help... my tiny brain hurts.
Side Question....
Alternatively, can i just completely remove the "Quest Journal" option and bind a keyboard key to run a common event that'll display the quest description & objectives?