Triggering quests

When players reach some specific quest event trigger points, available quests will be listed for the player to choose to accept them. The straightforward way to trigger the quest is through the conversation with NPCs. While chatting with NPCs, they may require the players to archive some tasks. For example, a farmer may ask players to buy some seeds in the other town; a solider may ask players to kill a monster in order to get into the castle.

Besides triggering quests from NPCs, quests can also be triggered from reading documents, collecting items, or completing a quest. We will discuss them one by one.

Getting quests from NPC

In the last chapter, we created the NPC conversation system which is able to dispatch specific event ...

Get Flash Multiplayer Virtual Worlds now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.