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

# npc.charcachedispose

```lua
npc.charcachedispose()
```

|                         |                                                                         |
| ----------------------- | ----------------------------------------------------------------------- |
| id                      | `0x0146`                                                                |
| arguments               | 0                                                                       |
| in NPC Kit              | yes                                                                     |
| measured from a kit NPC | returns                                                                 |
| waits                   | it has a wait handler: it can hold the script, and in `talk` the player |
| vanilla scripts         | 289 calls in 75 of 1114 scripts                                         |

## What it does

Releases the script set's holds on its models and queues every model nothing else holds for unload. Holds the script for one frame.

## Timing

Waits one frame.

## In NPC Kit

**Avoid it.** It acts on every model the kit's script set holds, so it would release the models of all kit NPCs on the map, not just the caller's.

## Used with

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

## Example

None: in the kit it would release the models of every kit NPC on the map. Leave the models to the map, and change one NPC's model by binding the new one:

```lua
change = function()
    npc.bindp2_d4(0x006E002B, 4, 3);
end,
```
