Skip to content

Change Battle Speed

Change Battle Speed

Adjusts the speed multiplier at which the battle updates.

Properties

System

Name Explanation Type
Speed Multiplier The speed multiplier to apply to the battle update rate. A value of 1.0 is normal speed. Variable or Value

Examples

Set Battle Speed to Double

This sets the battle speed multiplier to 2, making the battle update twice as fast.

change_battle_speed(2);
{"Data":{"Multiplier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"2","VariableIndex":0,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Battle.ChangeBattleSpeedCommand"}

Reset Battle Speed to Normal

This resets the battle speed multiplier to 1, restoring normal battle speed.

change_battle_speed(1);
{"Data":{"Multiplier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"1","VariableIndex":0,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Battle.ChangeBattleSpeedCommand"}

Set Battle Speed from a Variable

This sets the battle speed multiplier to the value stored in Global Variable 0.

change_battle_speed($gv[0]);
{"Data":{"Multiplier":{"IsGlobalVariable":true,"IsLocalVariable":false,"IsValue":false,"Value":"","VariableIndex":0,"Metadata":null},"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Battle.ChangeBattleSpeedCommand"}