> 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/beginner-tutorials/spawn-points-teleporting.md).

# 스폰 포인트 / 텔레포팅

![](https://miro.medium.com/max/900/0*2b5QFZxYycWtbVvf.gif)

**참고:** 이 시스템이 작동하려면 아바타가 사망한 후 재생성되어야 합니다. 현재 아바타가 사망하지 않을 경우 텔레포트 시스템을 이용할 수 없으므로 이를 고려하여 게임을 디자인해 주세요.

* 화면 상단의 '**Global Parameters**' 버튼을 클릭합니다.
* ‘**Controller**’ 탭을 클릭합니다.
* ‘**Components**’ 탭을 클릭합니다.\
  \
  이 창에서 아바타의 체력과 사망 조건을 설정할 수 있습니다.

![](/files/-MPiLxKeK-96pKo9J8zK)

* '**Health Component**'의 '**Death Event**' 필드에서 '**RespawnToTag**'를 선택합니다.
* ‘**Respawn Tag**’에서 태그를 추가합니다. 위 이미지의 예시에서는 ‘**spawn1**’을 사용했습니다. 게임 내 '**spawn1**' 태그가 추가된 모든 오브젝트는 아바타 사망 시 스폰 포인트로 이용됩니다.
* **‘Death Delay’**&#xB294; 아바타 사망 후 재생성되기까지 땅에 누워있는 시간을 설정합니다. 위 예시에서는 ‘**-2**’를 사용했습니다. 이는 사망 애니메이션 없이 즉시 아바타를 재생성합니다.
* ‘**Instant Death Message**’의 기본 메시지를 다른 옵션으로 변경하면 해당 메시지가 발생할 때 완전한 제어가 가능합니다. 위 예시에서는 '**Killx**'를 사용했습니다.<br>

![](/files/-MPiNFVRZciTWesDk3kr)

이제 아바타가 사망하면 가장 가까운 '**spawn1**' 태그가 적용된 오브젝트를 찾아 해당 위치로 아바타를 재생성합니다. 태그를 찾을 수 없는 경우 시작 지점이나 현재 위치에서 생성됩니다.

* 스폰 포인트로 이용할 애셋을 배치합니다. 클라이언트에서 버그가 발생하지 않도록 게임 메이커 내 기본 오브젝트를 이용할 것을 권장합니다. 이미지의 예시에서는 평평하고 관리에 용이한 크기인 ‘**Stone Carving (돌 조각)**’을 이용했습니다.
* 스폰 포인트를 선택하고 '**spawn1**'이라는 태그를 추가합니다.

![](https://miro.medium.com/max/2400/0*HA6A4m1D9cm_DTcc.png)

이제 아바타가 사망하면 해당 돌 조각 위에 다시 생성될 것입니다. 해당 오브젝트를 투명하게 만들거나 게임에서 보이지 않도록 지하로 넣을 수 있습니다.

축하합니다! 이제 게임에 재생성 위치를 설정할 수 있습니다.\
\
[여기를 클릭하여 양방향 텔레포터가 어떻게 작동하는지 알아보세요.](https://sandboxgame.gitbook.io/the-game-maker-academy_kr/QXVjiJZSETueiVsHSiOX/tutorials-1/advanced-tutorials/make-a-two-way-teleport-system)


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.sandbox.game/the-game-maker-academy_kr/tutorials-1/beginner-tutorials/spawn-points-teleporting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
