M MY Multiplayer: Wiki
Side
Kind

stopCinematicRecording

Client

Stops the cinematic's recording. The other actors that were playing during the recording stop too.

bool stopCinematicRecording(cinematic cinematic)

Parameters

NameTypeDescription
cinematiccinematicThe cinematic.

Returns

true if it stopped, false if the cinematic was not recording.

Example

local scene = createCinematic()
startCinematicRecording(scene, "hero", localPlayer)

setTimer(function()
    stopCinematicRecording(scene)
    playCinematic(scene)
end, 10000, 1)

See also