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

# npc.charefftrigger

```lua
npc.charefftrigger(cue)
```

|                         |                                  |
| ----------------------- | -------------------------------- |
| id                      | `0x0325`                         |
| arguments               | 1: Int                           |
| in NPC Kit              | yes                              |
| measured from a kit NPC | returns                          |
| vanilla scripts         | 331 calls in 111 of 1114 scripts |

## What it does

Plays an effect cue built into the NPC's character model (1 to 10), if the model has one.

## Arguments

### `cue` (Int)

The cue. Vanilla: `2` (192 calls), `1` (130), a few `3` to `10`. What a cue shows depends on the model.

## Timing

Returns at once.

## In NPC Kit

Not tested on a kit NPC; try it in the game with the model you use.

## Used with

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

## Example

The vanilla shape: cue 2 of the NPC's model in a beat. What it shows, if anything, depends on the model; try it in the game.

```lua
spark = function()
    npc.charefftrigger(2);
    npc.wait(30);
end,
```
