stopCinematicRecording
Client
Stops the cinematic's recording. The other actors that were playing during the recording stop too.
bool stopCinematicRecording(cinematic cinematic)
Parameters
| Name | Type | Description |
|---|---|---|
| cinematic | cinematic | The 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)