Home Migration Guide Getting Started With Scripts Commands Examples
Generic JSON Recipes

TransitionManager

This class was added by a mod with mod-id cinematic_transitions. So you need to have this mod installed if you want to use this feature.

Importing the class

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

script.zs
import mods.cinematic_transitions.TransitionManager;

Static Methods

Return Type: void

script.zs
TransitionManager.setTransitionHeight(height as float) as void
ParameterTypeDescription
Parameter
height
Type
float
Description
No Description Provided

Return Type: void

script.zs
TransitionManager.setTransitionLength(length as float) as void
ParameterTypeDescription
Parameter
length
Type
float
Description
No Description Provided

Return Type: void

script.zs
TransitionManager.setTransitionWaitDuration(duration as int) as void
ParameterTypeDescription
Parameter
duration
Type
int
Description
No Description Provided