World of Warcraft Forever API · Cinematic.md, for your AI
Cinematic (global functions)
7 functions, 6 events, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an 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. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
CinematicFinished
CinematicFinished(movieType, [userCanceled], [didError])
Arguments
movieType | CinematicType | |
|---|---|---|
userCanceled | bool default false | |
didError | bool default false |
CinematicStarted
CinematicStarted(movieType, movieID, [canCancel])
Arguments
movieType | CinematicType | |
|---|---|---|
movieID | number | |
canCancel | bool default true |
GetCurrentCinematicSummary
summary = GetCurrentCinematicSummary()
Returns
summary | cstring |
|---|
InCinematic
inCinematic = InCinematic()
Returns
inCinematic | bool |
|---|
MouseOverrideCinematicDisable
MouseOverrideCinematicDisable([doOverride])
Arguments
doOverride | bool default false |
|---|
OpeningCinematic
OpeningCinematic()
StopCinematic
StopCinematic()
Events
CINEMATIC_START
canBeCancelled | bool | |
|---|---|---|
forcedAspectRatio | CameraModeAspectRatio |
CINEMATIC_STOP
No payload.
HIDE_SUBTITLE
No payload.
PLAY_MOVIE
movieID | number |
|---|
SHOW_SUBTITLE
subtitle | cstring | |
|---|---|---|
sender | cstring may be nil |
STOP_MOVIE
No payload.