[ACE]Need help with Jet's Steath System

You can check out Jet's script here.

The script is just perfect. But the only problem is that the player can press the duck button anytime to enter the ducking pose, even in cutscenes.

[IMG]http://i.imgur.com/NM5Ixix.png[/IMG]

As you can see, this is a cutscene, the character's pose is still normal~

[IMG]http://i.imgur.com/EK5B7jQ.png[/IMG]

but if you press the duck button, you can easily get this (in a cutsene) 🙁

Can anyone solve this problem? Please edit the script so the player can't use the duck button unless a switch is ON or a script is called?
Your images are broken. =/

You should use imgur for image-uploading.
I've moved this thread to RGSSx Script Support (since you need help with an existing script, and are not requesting a new one). Please be sure to post your threads in the correct forum next time. Thank you.
Sorry, I'm new here ._.

The images have been uploaded. Hope you guys can see it~
Nobody helps me? Is my English really that bad (._.)?
Add this as a new script BELOW the stealth script. For the switch, choose a switch number that you haven't used yet, then go into an event and name the switch so you don't accidentally use it for something else (when the switch is ON, you can't duck, so it's a 'disable' switch).

When you have a cutscene, turn the switch on at the beginning, and off again at the end. That will disable the alt key.

Spoiler
Code:
module Jet  module Stealth    DUCK_DISABLE_SWITCH = 20  endendclass Game_Player  def ducking?    !$game_switches[Jet::Stealth::DUCK_DISABLE_SWITCH] && Input.press?(Jet::Stealth::DUCK_BUTTON)  endend

Original thread: https://forums.rpgmakerweb.com/threads/ace-need-help-with-jets-steath-system.19016/