Skip to content

Change Text Speed

Change Text Speed

Adjusts the speed multiplier that controls how fast text is rendered.

Properties

System

Name Explanation Type
Speed Multiplier The speed multiplier to apply to text rendering. A value of 1.0 is normal speed. Variable or Value

Examples

Set Text Speed to Normal

Resets the text rendering speed multiplier to the default value of 1.0.

change_text_speed(1);
{"Data":{"Multiplier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"1","VariableIndex":0,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.Shared.Models.Scripts.Commands.System.ChangeTextSpeedCommand"}

Set Text Speed to Double

Sets the text rendering speed to twice the normal rate.

change_text_speed(2);
{"Data":{"Multiplier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"2","VariableIndex":0,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.Shared.Models.Scripts.Commands.System.ChangeTextSpeedCommand"}

Set Text Speed from a Variable

Sets the text rendering speed multiplier using the value stored in global variable 0.

change_text_speed($gv[0]);
{"Data":{"Multiplier":{"IsGlobalVariable":true,"IsLocalVariable":false,"IsValue":false,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.Shared.Models.Scripts.Commands.System.ChangeTextSpeedCommand"}