> 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/setoverheadicontype.md).

# npc.setoverheadicontype

```lua
npc.setoverheadicontype(type)
```

|                         |                                 |
| ----------------------- | ------------------------------- |
| id                      | `0x0523`                        |
| arguments               | 1: Int                          |
| in NPC Kit              | yes                             |
| measured from a kit NPC | returns                         |
| vanilla scripts         | 371 calls in 87 of 1114 scripts |

## What it does

Chooses the NPC's overhead icon and name-caption style.

## Arguments

### `type` (Int)

`0` (244 vanilla calls, the setup of town NPCs) or `1` (127). What `1` shows instead is not confirmed here.

## Timing

Returns at once.

## In NPC Kit

`setoverheadicontype(0)` is in the vanilla setup the kit examples copy, after the motion.

## Used with

* The rest of the setup (`references/staging.md`).

## Example

```lua
init = function()
    npc.setautorelax(1);
    npc.usecharhit(0);
    npc.bindp2_d4(0x006E0019, 4, 3);
    npc.stdmotionread(16);
    npc.stdmotionreadsync();
    npc.stdmotionplay_2c2(0x01000000, 0);
    npc.setoverheadicontype(0);     -- the town NPC style, after the motion
    npc.usemapid(1);
    -- ...
end,
```
