# 허드 정보 가져오기

### getHud

```c
function getHud(p: entity, id: string):: entity
```

허드의 역할을 하는 디스플레이를 리턴합니다

### getHuds

```c
function getHuds(p: entity, ids: strings):: entities
```

### getAllHuds

```c
function getAllHuds(p: entity, id: boolean=false):: objects
```

#### id: true라면 허드의 id들(strings)를 리턴합니다. 아니라면 허드들(displays)를 리턴합니다

### getHudScale

```c
function getHudScale(p: entity, id: string):: vector
function getHudScale(e: entity):: vector
```

### getHudLocation

```c
function getHudLocation(p: entity, id: string):: vector
function getHudLocation(e: entity):: vector
```

### getHudText

```c
function getHudText(p: entity, id: string, line: integer={_}):: string:
function getHudText(e: entity, line: integer={_}):: string
```

#### line: 특정 줄의 텍스트만 리턴합니다, 비워져있으면 모든 줄의 텍스트를 리턴합니다

### metadata

각 정보들은 엔티티의 metadata에 저장됩니다.

```c
허드
metadata tag "id" of {_e}
metadata tag "hud" of {_e}
metadata tag "location" of {_e}
metadata tag "scale" of {_e}

플레이어
metadata tag "{@id}%{_id}%" of {_p}
```
