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

# npc.reqdisable

```lua
npc.reqdisable(trigger)
```

|                         |                                   |
| ----------------------- | --------------------------------- |
| id                      | `0x002B`                          |
| arguments               | 1: Int                            |
| in NPC Kit              | yes                               |
| measured from a kit NPC | returns                           |
| vanilla scripts         | 6921 calls in 419 of 1114 scripts |

## What it does

Turns off one of the NPC's triggers (see [reqenable](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/reqenable.md) for the numbers): the engine no longer runs the function behind it. `reqdisable(2)` stops the NPC from being talked to.

## Arguments

### `trigger` (Int)

The trigger number. Vanilla: `2` (2,561 calls), `3`, `8`, `13`, `16`, `17`.

## Timing

Returns at once.

## In NPC Kit

Not tested on a kit NPC. An NPC that should never talk simply has no `talk` in `npc.add`.

## Used with

* [reqenable](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/reqenable.md).

## Example

An NPC that talks once per visit: the talk turns its own talk trigger off at the end.

```lua
local allIKnow = [[
I've told you all I know, and that is the truth.
Ask around the bazaar if you want to learn more.
]]

talk = function()
    talkOpen();
    npc.lua(function(handle) say(handle, allIKnow) end);
    talkClose();
    npc.reqdisable(2);
end,
```

## Pitfalls

* Not tested on a kit NPC; [settalkiconstatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/settalkiconstatus.md)`(0)` is the other way.
