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?
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?