# Cinematic (global functions): World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/Cinematic

## Functions

### CinematicFinished

```lua
CinematicFinished(movieType, [userCanceled], [didError])
```

Arguments:
- `movieType`: CinematicType
- `userCanceled`: bool, default false
- `didError`: bool, default false

### CinematicStarted

```lua
CinematicStarted(movieType, movieID, [canCancel])
```

Arguments:
- `movieType`: CinematicType
- `movieID`: number
- `canCancel`: bool, default true

### GetCurrentCinematicSummary

```lua
summary = GetCurrentCinematicSummary()
```

Returns:
- `summary`: cstring

### InCinematic

```lua
inCinematic = InCinematic()
```

Returns:
- `inCinematic`: bool

### MouseOverrideCinematicDisable

```lua
MouseOverrideCinematicDisable([doOverride])
```

Arguments:
- `doOverride`: bool, default false

### OpeningCinematic

```lua
OpeningCinematic()
```

### StopCinematic

```lua
StopCinematic()
```

## Events

### CINEMATIC_START

Payload, after the event's name:
- `canBeCancelled`: bool
- `forcedAspectRatio`: CameraModeAspectRatio

### CINEMATIC_STOP

No payload.

### HIDE_SUBTITLE

No payload.

### PLAY_MOVIE

Payload, after the event's name:
- `movieID`: number

### SHOW_SUBTITLE

Payload, after the event's name:
- `subtitle`: cstring
- `sender`: cstring, may be nil

### STOP_MOVIE

No payload.

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
