Esempio n. 1
0
 public override void OnMatched(ScriptBase script)
 {
     script.SetButtons(new DualShockState()
     {
         LX = 0
     });
     script.Sleep(4000);
     script.SetButtons(new DualShockState()
     {
         LX = 128
     });
 }
Esempio n. 2
0
        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
            });
        }