public override void OnMatched(ScriptBase script) { script.SetButtons(new DualShockState() { LX = 0 }); script.Sleep(4000); script.SetButtons(new DualShockState() { LX = 128 }); }
public override void OnMatched(ScriptBase script) { int index = 0; while (SceneConditionHandler.HandleConditions(Settings.Instance.Data.Game, script)) { int value = ++index; if (value > 50) { break; } script.SetButtons(new DualShockState() { LX = 0 }); script.Sleep(1000); } script.SetButtons(new DualShockState() { LX = 128 }); }