Hmm. Tweek, do you have any insight besides "yes"?
Printable View
Hmm. Tweek, do you have any insight besides "yes"?
I have an idea that might work:
- Use a script to detect what weapon the player is holding.
- Store it to a variable.
- Wait until the player's readied weapon doesn't equal the one stored in the variable.
- Play an animation
- Store the new readied weapon to the variable.
I did something like that to run my dual wielding script. The thing is, when you switch weapons, by the time the varialble is changed, the weapon is no longer recognized and the animation wont play.
Now theres probably a way, we just need to find it.
Which is why you use a (sleep (custom_animation_time )) before you replace the variable.