> For the complete documentation index, see [llms.txt](https://docs.sandbox.game/the-game-maker-academy_kr/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/the-game-maker-academy_kr/tutorials-1/medium-tutorials/your-first-rpg-experience/2-create-your-rpg-npc.md).

# 2: 나만의 RPG NPC 만들기

#### [⁑ 중급자 튜토리얼](https://sandboxgame.gitbook.io/the-game-maker-academy_kr/QXVjiJZSETueiVsHSiOX/tutorials-1/medium-tutorials) **-** [◑ 나만의 첫 RPG 경험 제작하기](https://sandboxgame.gitbook.io/the-game-maker-academy_kr/QXVjiJZSETueiVsHSiOX/tutorials-1/medium-tutorials/your-first-rpg-experience) - 2: 나만의 RPG NPC 만들기

### 소개: <a href="#introduction" id="introduction"></a>

RPG NPC (Non Playable Character)는 플레이어에게 **어떤 요청을 하는 캐릭터이며 플레이어가 해당 요청을 완료하면 보상을 줍니다**. **RPG 장르의 고전적인 요소**이자 **플레이어에게 보상을 지급할 수 있는 가장 좋은 방법**이기도 하죠!

## A) NPC 제작 <a href="#a-npc-creation" id="a-npc-creation"></a>

이제 장면으로 들어와 **RPG NPC로 사용할 애셋을 배치**합니다.

![이 예시에서는 Hermit (은둔자) 애셋을 사용했습니다. 그가 도움을 요청하고 있네요!](/files/-MSlb_CwP4S3xW3_K6WV)

{% hint style="info" %}
✨ **팁:** RPG NPC로는 RPG 게임에서 가장 흔하게 접할 수 있는 캐릭터 형태인 'Human (인간)'형을 사용하는 것이 좋습니다.
{% endhint %}

## B) 비헤이비어 변경 <a href="#b-change-its-behaviour" id="b-change-its-behaviour"></a>

이제 이 NPC가 플레이어에게 어떤 질문을 던지도록 만들어 보겠습니다. 이를 위해서는 **비헤이비어를 추가**해야 합니다. 여기서는 [**질문자(Asker)**](https://sandboxgame.gitbook.io/the-game-maker-academy_kr/behaviours/types-of-behaviours/asker)를 추가할 수 있습니다.

* 배치한 NPC를 선택하여 속성 패널을 오픈합니다.
* 비헤이비어를 'Asker'로 변경합니다.

![Hermit (은둔자) 애셋에는 기본적으로 Farmer (농부) 비헤이비어가 지정되어 있으므로, Asker (질문자)로 변경합니다.](/files/-MSlcsGG16_IgB4iDA7d)

{% hint style="info" %}
✨ **팁:** 속성 패널에서 사용하지 않는 메뉴는 접어 두세요.
{% endhint %}

## C) 질문자 비헤이비어 설정 <a href="#c-set-up-the-asker-behaviour" id="c-set-up-the-asker-behaviour"></a>

질문자 비헤이비어에는 3가지 주요 설정이 필요합니다. NPC가 질문하고 무엇인가를 요청하도록 만들어 봅시다.

* NPC의 **이름** (A)
* NPC가 던지는 **질문** (B)
* NPC의 질문에 대한 **답** (C) (최대 4개)

![](/files/-MSlnzWmIQ0Z-L8Tr3ql)

{% hint style="info" %}
✨ **팁:** 질문에는 글자수 제한이 있으므로 이를 초과하지 않도록 합니다.
{% endhint %}

{% hint style="info" %}
✨ **고급 팁:** 서식 텍스트를 이용하여 질문에 포함된 주요 정보를 강조할 수 있습니다.
{% endhint %}

## D) 질문자 비헤이비어 고급 설정 <a href="#d-asker-behaviour-advanced-settings" id="d-asker-behaviour-advanced-settings"></a>

우선, NPC가 질문을 한 번만 던지도록 하고 싶으니 **Only Once**를 '**True**'로 설정합니다.

플레이어가 대답을 선택하면 메시지가 전송됩니다. 각 대답 메시지를 편집하려면 (다른 메시지와 헷갈리지 않도록) 'Edit Logic'을 클릭하고 A1, A2, A3, A4 메시지를 원하는 내용으로 수정합니다.

![](/files/-MSlo4aIqbKGM7N7OImT)

{% hint style="info" %}
✨ **팁:** Answer 1 메시지는 A1 Message sent와 페어를 이루며, 나머지 2, 3, 4도 각각의 숫자와 페어됩니다.
{% endhint %}

## E) NPC 준비 완료! <a href="#e-your-npc-is-prepared" id="e-your-npc-is-prepared"></a>

{% hint style="success" %}
👏 **모두 완료되었습니다!** [◑ 나만의 첫 RPG 경험 제작하기](https://sandboxgame.gitbook.io/the-game-maker-academy_kr/QXVjiJZSETueiVsHSiOX/tutorials-1/medium-tutorials/your-first-rpg-experience) 튜토리얼의 2단계를 마쳤습니다!\
이제 튜토리얼 3단계 [**3: 적 만들기**](https://sandboxgame.gitbook.io/the-game-maker-academy_kr/QXVjiJZSETueiVsHSiOX/tutorials-1/medium-tutorials/your-first-rpg-experience/3-create-your-enemy)로 넘어가 보겠습니다.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sandbox.game/the-game-maker-academy_kr/tutorials-1/medium-tutorials/your-first-rpg-experience/2-create-your-rpg-npc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
