Quest markers - voxraygames/worldbuilding GitHub Wiki

See also Action Editor

Using quest marker entities

When designing a quest, you may want to indicate a location to the player.

You can do this by placing a quest marker where you want the player to go. For example, a quest marker is placed near this pile of stones to indicate to the player where they can look to mine stones.

mine stones

To attach this quest marker to a quest, make sure that the ID of quest marker is the same as the quest. You can tell if this is done correctly because the quest marker's tooltip will have the name of your quest.

quest marker tooltip

See here that action ID of the quest and the quest marker are both "mine stone".

mine stone action id

Using monsters as quest markers

Sometimes you want the player to mark one or more monster as quest targets. You can do this the same way as with the quest marker entities. For example, here we mark the pig with the action ID "killpigs", which is also the ID for the quest.

monster action id

Using a quest marker for NPC navigation

A quest marker can also be used to indicate where an NPC should walk to. This is set in the same way as a quest location, but instead you mark the action with the "Walk to Marker" NPC animation.

npc walk to marker

Take a look at dev/npc_navigation_test.world for some examples