I've used switches and variables to create a quest system, even managing to use a common event to allow the player to check which quests are currently taken and the progress of each one, so I guess i'm learning!
:lol:
Alas, i've stumbled across a problem that I haven't been able to solve myself. See, one of the basic quests involves killing 10 bees, and so i've set battle events in every troop containing the 'bee' monster to run whenever the required switch is on (activated by starting the quest) and whenever the bee's Hp drops to 0% the quest's variable will be increased by 1. When this occurs, a message appears on the screen showing how many bees have been slain out of the 10 required by looking up and displaying the variable count. This works great so long as the bee in question isn't the last monster on the battle screen. The message shows up and the variable is increased accordingly. However... if the bee is the last monster left alive (or the only monster in a troop) then it seems that since there are no more monsters to fight, the battle immediately ends and doesn't allow time for the battle event to process. It doesn't show the message or increase the variable.
:shock:
So if anyone has any ideas or solutions for amending this problem, i'd love to hear them! If it's not possible, then i'll just modify the quest and have the player do something that is acheivable.
Thanks for reading!
:lol:
Alas, i've stumbled across a problem that I haven't been able to solve myself. See, one of the basic quests involves killing 10 bees, and so i've set battle events in every troop containing the 'bee' monster to run whenever the required switch is on (activated by starting the quest) and whenever the bee's Hp drops to 0% the quest's variable will be increased by 1. When this occurs, a message appears on the screen showing how many bees have been slain out of the 10 required by looking up and displaying the variable count. This works great so long as the bee in question isn't the last monster on the battle screen. The message shows up and the variable is increased accordingly. However... if the bee is the last monster left alive (or the only monster in a troop) then it seems that since there are no more monsters to fight, the battle immediately ends and doesn't allow time for the battle event to process. It doesn't show the message or increase the variable.
:shock:
So if anyone has any ideas or solutions for amending this problem, i'd love to hear them! If it's not possible, then i'll just modify the quest and have the player do something that is acheivable.
Thanks for reading!