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

# npc.seteventtimestop

```lua
npc.seteventtimestop(state)
```

|                         |                                   |
| ----------------------- | --------------------------------- |
| id                      | `0x0398`                          |
| arguments               | 1: Int                            |
| in NPC Kit              | yes                               |
| measured from a kit NPC | returns                           |
| vanilla scripts         | 4725 calls in 314 of 1114 scripts |

## What it does

Raises (`1`) or releases (`0`) the event time stop, one of the game's freeze requests: it freezes the actors of the map's own scripts. Vanilla raises it around every "obtained" message (about 2,360 pairs).

## Arguments

### `state` (Int)

`1` on, `0` off.

## Timing

Returns at once.

## In NPC Kit

The request does not reach kit NPCs: they keep running while it holds. Pair every `1` with a `0`.

## Used with

* [setstatuserrorctrldenystatus\_by\_menu](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setstatuserrorctrldenystatus_by_menu.md): vanilla raises both.
* [moveblurcaptureonce](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/moveblurcaptureonce.md), [additemmes](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/additemmes.md).

## Example

```lua
npc.setstatuserrorctrldenystatus_by_menu(1);
npc.seteventtimestop(1);
npc.additemmes(0x0000, 1);          -- Potion
npc.seteventtimestop(0);
npc.setstatuserrorctrldenystatus_by_menu(0);
```
