Cutscene Manager

[Open Assets] Cutscene Manager V1

What permissions do you give others to modify and/or maintain your submission?
Modify: YES - Maintain: YES - I give permission for my entire submission to be modified by others or used in their own work. I give permission for my entire submission to be maintained by others as well.
An extremely simple manager for cutscenes

It doesn't do much, it just has a couple of functions that make it easier to have a cutscene going on while being a little saving on resources

You really only need the file called Init.lua in startup

CM_AddCutscene has 4 required arguments and 1 optional one

name is the name you'll use to refer to the cutscene
duration is how long the cutscene lasts
objects is a table of objects inside
func is the function used to handle those objects
replace uses the function CM_ReplaceCutscene if the cutscene named already exists (true or false variable)

CM_ReplaceCutscene does what CM_AddCutscene does but replaces an already existing one

CM_StartCutscene starts the cutscene named

CM_DeleteCutscene deletes the cutscene named

This mod comes with an example cutscene that automatically start in GFZ1
srb25094.gif


If you have any questions or wanna suggest anything just lemme know lol
Author
kirbwasnttaken
Downloads
178
Views
929
Extension type
pk3
File size
1.6 KB
MD5 Hash
9a4488b73abb9be9e10811fd43cf6bf1
First release
Last update

More resources from kirbwasnttaken

Share this resource

Back
Top