> For the complete documentation index, see [llms.txt](https://docs.sandbox.game/jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sandbox.game/jp/creators/game-maker/creative-guide/logic-guide/quests.md).

# Quests

See [**Dialogue**](https://docs.sandbox.game/en/creators/game-maker/creative-guides/experience-design-techniques/narrative-design/dialogue) in our Narrative Design resources for information about creating engaging dialogue that fits within the technical limits, and communicating plans with a team.

### Game Maker Tutorial Templates <a href="#game-maker-tutorial-templates" id="game-maker-tutorial-templates"></a>

Open Game Maker and find tutorials in the Templates tab for hands-on learning. For more details on each quest type, see [**Objectives documentation**](https://docs.sandbox.game/en/creators/game-maker/docs/build-menus/top-bar/objectives).

![](https://docs.sandbox.game/~gitbook/image?url=https%3A%2F%2F331512196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F83PS3g9zpWmq73xzlwFn%252Fuploads%252FTdyBx5xKRp91cGSGmXyE%252Fimage.png%3Falt%3Dmedia%26token%3D26a48c7d-c2d2-4d2d-9dff-19758137e8ad\&width=768\&dpr=4\&quality=100\&sign=3dfa213e\&sv=2)Counter Quest template

![](https://docs.sandbox.game/~gitbook/image?url=https%3A%2F%2F331512196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F83PS3g9zpWmq73xzlwFn%252Fuploads%252FMZjPSSfsfYFrYYBa3o4C%252Fimage.png%3Falt%3Dmedia%26token%3D2bde8a94-9439-48ed-8411-13751989a9ab\&width=768\&dpr=4\&quality=100\&sign=26ca14b6\&sv=2)Death Quest template

![](https://docs.sandbox.game/~gitbook/image?url=https%3A%2F%2F331512196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F83PS3g9zpWmq73xzlwFn%252Fuploads%252FDmnPYopZjVRsjsWQ31Zs%252Fimage.png%3Falt%3Dmedia%26token%3Dde23fc1e-e962-40a5-ae63-591592529d73\&width=768\&dpr=4\&quality=100\&sign=1a5e4267\&sv=2)Message Quest template

### How are Quests Used? <a href="#how-are-quests-used" id="how-are-quests-used"></a>

[**Quests/Objectives** ](https://docs.sandbox.game/en/creators/game-maker/docs/build-menus/top-bar/objectives)are one-time-use player objectives that can be used for:

* guiding players
* meeting important characters
* special achievements
* mass item collection
* points of interest to encourage exploration
* guiding players through a linear game flow
* optional side-quests
* branching logic based on player actions
* defending a character or survival during a time limit
* killing a certain number of enemies or a specific one
* and more

A player can navigate through a game without quests if dialogue and visual cues are very clear, but quests introduce a polished user interface and the ability to use quest icons to guide them better.

It is recommended to not allow more than 3 quests to be open at a time. Players can scroll through the quest list, but newer players may not be used to using those controls.

#### Quests Are Compatible with \[SP] Logic <a href="#quests-are-compatible-with-sp-logic" id="quests-are-compatible-with-sp-logic"></a>

Quests only apply to an individual player's actions in Single and Multiplayer Experiences and can be used to track **player progression** in [**Seasons and Events**](https://docs.sandbox.game/en/players/seasons-and-events).

[**Crowd Event**](https://docs.sandbox.game/en/creators/game-maker/docs/behaviours/crowd-event) behaviour can be used in Multiplayer Experiences for a collaborative goal completed through emotes (such as dances) or messages received. It also works in Single Player Experiences.

Quests will be migrated for compatibility with multiplayer logic.

### Quest Cursors <a href="#quest-cursors" id="quest-cursors"></a>

The [**Objectives**](https://docs.sandbox.game/en/creators/game-maker/docs/build-menus/top-bar/objectives) system sets up the structure of quests, which have a beginning, middle, and end. Use the [**Indicator** ](https://docs.sandbox.game/en/creators/game-maker/docs/components/indicator)component to set quest cursors to appear on objects related to your quest.

#### Giver - Starts the Quest <a href="#giver-starts-the-quest" id="giver-starts-the-quest"></a>

If a quest is set to auto launch, the ***Giver*** icon will not appear.

**PLAYER ICON - EXCLAMATION MARK**

![](https://docs.sandbox.game/~gitbook/image?url=https%3A%2F%2F331512196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F83PS3g9zpWmq73xzlwFn%252Fuploads%252FWoay1gVc4YgSEambx817%252Fimage.png%3Falt%3Dmedia%26token%3D980b27fd-b3d7-44b3-85b3-7dccdce497b9\&width=300\&dpr=4\&quality=100\&sign=559797f2\&sv=2)

* Directs players to start a quest
* Appears when a quest is unlocked
* Disappears when a quest is launched

**BUILDER SETUP**

[**Objectives**](https://docs.sandbox.game/en/creators/game-maker/docs/build-menus/top-bar/objectives#quest-steps) - set the quest conditions

[**Indicator**](https://docs.sandbox.game/en/creators/game-maker/docs/components/indicator) - apply this component to an object

![](https://docs.sandbox.game/~gitbook/image?url=https%3A%2F%2F331512196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F83PS3g9zpWmq73xzlwFn%252Fuploads%252FhPEMj3t1noxYFcqPDUdk%252Fimage.png%3Falt%3Dmedia%26token%3D22663a6a-2b15-49f8-8c28-5182d4533909\&width=300\&dpr=4\&quality=100\&sign=9b13efc6\&sv=2) Click Add+ next to ***Giver*** and select the quest name from the dropdown list to make the icon appear above the object during play

#### Objective - Meets the Condition <a href="#objective-meets-the-condition" id="objective-meets-the-condition"></a>

**PLAYER ICON - TARGET**

![](https://docs.sandbox.game/~gitbook/image?url=https%3A%2F%2F331512196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F83PS3g9zpWmq73xzlwFn%252Fuploads%252F3YEd4oQsNGf4AiNMTJtg%252Fimage.png%3Falt%3Dmedia%26token%3D03381546-1226-4f2d-b59c-5c827af8218c\&width=300\&dpr=4\&quality=100\&sign=c7b6701d\&sv=2)

* Directs players to locations, collectable objects, enemies to kill, objects to interact with (to send a message), etc.
* Appears when a quest is launched
* Disappears when a quest condition is met

**BUILDER SETUP**

[**Objectives**](https://docs.sandbox.game/en/creators/game-maker/docs/build-menus/top-bar/objectives#quest-steps) - set the quest conditions

[**Indicator**](https://docs.sandbox.game/en/creators/game-maker/docs/components/indicator) - apply this component to one or more objects, which are the condition set in Step 3 of the Quest setup (Quest Type)

![](https://docs.sandbox.game/~gitbook/image?url=https%3A%2F%2F331512196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F83PS3g9zpWmq73xzlwFn%252Fuploads%252FJZa8hFY7iILKIvU0yUjw%252Fimage.png%3Falt%3Dmedia%26token%3D36a52932-deb8-4640-ae2d-5b3b988a2e55\&width=300\&dpr=4\&quality=100\&sign=5ea7018c\&sv=2) Click Add+ next to ***Objective*** and select the quest name from the dropdown list to make the icon appear above object(s) during play

#### Receiver - Closes the Quest <a href="#receiver-closes-the-quest" id="receiver-closes-the-quest"></a>

**PLAYER ICON - QUESTION MARK**

![](https://docs.sandbox.game/~gitbook/image?url=https%3A%2F%2F331512196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F83PS3g9zpWmq73xzlwFn%252Fuploads%252FWnDOoI9qD1FloCDdE9j5%252Fimage.png%3Falt%3Dmedia%26token%3D18cadcd1-308f-4b39-83ea-ed22dbfe276a\&width=300\&dpr=4\&quality=100\&sign=cb85fb6b\&sv=2)

* Directs players to an object to close the quest
* Appears when a quest condition is met
* Disappears when a quest is complete

**BUILDER SETUP**

[**Objectives**](https://docs.sandbox.game/en/creators/game-maker/docs/build-menus/top-bar/objectives#quest-steps) - set up quest conditions

[**Indicator**](https://docs.sandbox.game/en/creators/game-maker/docs/components/indicator) - apply this component to an object

![](https://docs.sandbox.game/~gitbook/image?url=https%3A%2F%2F331512196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F83PS3g9zpWmq73xzlwFn%252Fuploads%252FhPEMj3t1noxYFcqPDUdk%252Fimage.png%3Falt%3Dmedia%26token%3D22663a6a-2b15-49f8-8c28-5182d4533909\&width=300\&dpr=4\&quality=100\&sign=9b13efc6\&sv=2) Click Add+ next to ***Receiver*** and select the quest name from the dropdown list to make the icon appear above the object during play

#### Video: Set Up Quest Indicators <a href="#video-set-up-quest-indicators" id="video-set-up-quest-indicators"></a>

The videos below shows how to set up quest indicators with an older version of Game Maker with a slightly different user interface. Quests are now opened with the **Objectives** button (previously named Rules).

### Dialogue States for Quests <a href="#dialogue-states-for-quests" id="dialogue-states-for-quests"></a>

One NPC may need to say different dialogue depending on the state of a quest:

* **Beginning State -** An NPC informs players about the quest so they can accept it
* **Middle State -** An NPC reminds players they haven't finished the quest yet and may provide a hint
* **End State -** Congratulate players if the quest is complete (may suggest where to find a new quest)

#### Useful Logic <a href="#useful-logic" id="useful-logic"></a>

Each state of your dialogue may require more than one chunk of dialogue. See [**Dialogue Strings & Quizzes**](https://docs.sandbox.game/en/creators/game-maker/creative-guides/logic-guide/dialogue-strings-and-quizzes) for more information.

**"Bark" - Get the player's attention**

Add a [**Speaker** ](https://docs.sandbox.game/en/creators/game-maker/docs/components/speaker)component to an object, set to detect players, and add text to appear in the box. This may sometimes be used instead of setting up a quest ***Giver*** icon.

![](https://docs.sandbox.game/~gitbook/image?url=https%3A%2F%2F331512196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F83PS3g9zpWmq73xzlwFn%252Fuploads%252FNxLEC58vIm6FbBANyX3D%252Fimage.png%3Falt%3Dmedia%26token%3D1af6bcfb-ed14-4572-bfa5-97be8d200e59\&width=768\&dpr=4\&quality=100\&sign=eb3cd665\&sv=2)

**Dialogue - Inform/hint the player**

Add an [**Asker**](https://docs.sandbox.game/en/creators/game-maker/docs/behaviours/asker) behaviour to an object, set a question or statement, set player responses, and set messages to be sent if the player selects each response

![](https://docs.sandbox.game/~gitbook/image?url=https%3A%2F%2F331512196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F83PS3g9zpWmq73xzlwFn%252Fuploads%252F19aahrZnyCUWPsHyTEab%252Fimage.png%3Falt%3Dmedia%26token%3D7068c488-70c9-456b-8972-fa37c9fb1960\&width=768\&dpr=4\&quality=100\&sign=51fdd203\&sv=2)

**Toggle Behaviour - Turn on/off or toggle an object's Asker behaviour**

Add a [**Toggle Behaviour**](https://docs.sandbox.game/en/creators/game-maker/docs/components/toggle) component to an object (SP or MP depending on other logic applied to the object) to set messages to turn the object's behaviour on or off or set a message to switch between on and off states. Set the initial state.

This allows you to turn on or off any Asker behaviour dialogue to trigger only the right dialogue needed for the quest state or for a string of dialogue.

![](https://docs.sandbox.game/~gitbook/image?url=https%3A%2F%2F331512196-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F83PS3g9zpWmq73xzlwFn%252Fuploads%252FP3kmuGpY8V79NujPh6G9%252Fimage.png%3Falt%3Dmedia%26token%3D273be75a-bd95-401a-80e4-b398cfdff3e9\&width=768\&dpr=4\&quality=100\&sign=812e7436\&sv=2)

#### Video: Set up Dialogue States <a href="#video-set-up-dialogue-states" id="video-set-up-dialogue-states"></a>

The parkour race video below provides a great explanation of how to set up quest dialogue states.

[PreviousCollectibles](https://docs.sandbox.game/en/creators/game-maker/creative-guides/logic-guide/collectibles)[Nex](https://docs.sandbox.game/en/creators/game-maker/creative-guides/logic-guide/platforms)<br>

## Game Maker Tutorial Templates

Open Game Maker and find tutorials in the Templates tab.

<div align="left"><figure><img src="https://content.gitbook.com/content/V8pr5EgDZn2rnTUJE8XB/blobs/c5IaDP6ThkpkbF7T7rnU/image.png" alt=""><figcaption><p>Counter Quest</p></figcaption></figure> <figure><img src="https://content.gitbook.com/content/V8pr5EgDZn2rnTUJE8XB/blobs/KiHcDFVlHUpfQLKLfe5W/image.png" alt=""><figcaption><p>Message Quest</p></figcaption></figure></div>

<div align="left"><figure><img src="https://content.gitbook.com/content/V8pr5EgDZn2rnTUJE8XB/blobs/qcYM7HSC79PK5BjcUIOI/image.png" alt=""><figcaption><p>Death Quest</p></figcaption></figure></div>
