/// <summary> Set a temporary time scale that expires after a set time. </summary> /// <param name="scale">The scale you wish to set</param> /// <param name="key">They key that this scale is tied to.</param> /// <param name="priority">The priority of the scale.</param> /// <param name="numFrames">The amount of frames the time scale should affect.</param> public static bool SetTimedTimeScale(float scale, int numFrames, int key, TIME_PRIORITY priority) { if (SetTimeScale(scale, key, priority)) { timerMode = 1; scaleTimerF.Activate(numFrames); return(true); } return(false); }