Hello guys,
As I am doing project basing on modern war I used guns with ammo. The problem is when I shoot the pistol there is just the same sound which appear when I push the skill bottom. It didn't show the shooting sprite and projectile sprite. It's not using the weapon, it's just the sound come out. By the way, I configure the weapon as Bow and arrow which consume pistol ammo. Another problem is when I put the running sprite and run it shows this error. "Script Part 3, line 1222. NoMethodError occured. undefined method '-' for nil:NilClass."
I am just trying to finish all the battle systems and graphics for my project before I return my home country as I will not be able to access the internet well in my country. Please help me guys.
Thank You So Much.