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

# npc.setunazukistatus

```lua
npc.setunazukistatus(state)
```

|                         |                                    |
| ----------------------- | ---------------------------------- |
| id                      | `0x02F3`                           |
| arguments               | 1: Int                             |
| in NPC Kit              | yes                                |
| measured from a kit NPC | returns                            |
| vanilla scripts         | 26389 calls in 347 of 1114 scripts |

## What it does

Starts (`1`) or stops (`0`) the NPC's head nodding while it talks. A switch like [setkutipakustatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setkutipakustatus.md): on until `setunazukistatus(0)`.

## Arguments

### `state` (Int)

`1` (any non-zero) nodding, `0` still. Vanilla passes `1` and `0` about equally.

## Timing

Returns at once; the nodding starts or stops on the next frame.

## In NPC Kit

Works on a kit NPC; does nothing on an actor with no model. On another NPC: `npc.on("id").setunazukistatus(1)`.

## Used with

* [setkutipakustatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setkutipakustatus.md): always the same pair, on before the window and off after.
* [setkubifuristatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setkubifuristatus.md): head shakes.
* [setunazukistatus\_4a3](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setunazukistatus_4a3.md): nods for a fixed number of frames.

## Example

```lua
local function speaking(actor, on)
    actor.setkutipakustatus(on);
    actor.setunazukistatus(on);
    actor.setkubifuristatus(on);
end

speaking(npc, 1);                    -- this NPC speaks
speaking(npc.on("npckit_0021"), 0);  -- the other one listens
```

## Pitfalls

* Turned on and never off, the NPC nods through its idle after the talk.
