> For the complete documentation index, see [llms.txt](https://fehdead.gitbook.io/npc-kit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/bindh.md).

# npc.bindh

```lua
npc.bindh(model)
```

|                         |                                                   |
| ----------------------- | ------------------------------------------------- |
| id                      | `0x00D7`                                          |
| arguments               | 1: Int                                            |
| in NPC Kit              | yes                                               |
| measured from a kit NPC | waits: holds the script until its condition holds |
| vanilla scripts         | 706 calls in 140 of 1114 scripts                  |

## What it does

Attaches a model to the NPC's head slot (a helmet, a hat, a mask), holding the script until it is loaded.

## Arguments

### `model` (Int)

The model key, as [bindp2\_d4](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/bindp2_d4.md) takes it.

## Timing

Waits until the model is loaded.

## In NPC Kit

Not tested on a kit NPC with an absolute key. [bindhoff](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/bindhoff.md) takes it off.

## Used with

* [bindhoff](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/bindhoff.md), [bindp2\_d4](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/bindp2_d4.md).

## Example

A hat or helmet on the NPC's head slot, bound in `init` after the body.

```lua
init = function()
    npc.bindp2_d4(0x006E002B, 4, 3);
    npc.bindh(0x00670035);           -- Judge's Helmet (model-gadgets.csv)
    npc.stdmotionread(16);
    npc.stdmotionreadsync();
    -- ...
end,
```

## Pitfalls

* Not tested on a kit NPC with an absolute key; vanilla passes `0x03000000 + n` entries of its own model list, which a kit NPC lacks.
