when i press a, my character walks left and plays the left walking animation.
the sprite changes once i've picked up the gun, and i am trying to make it show the different animation if (a is pressed && holdinggun == 1)
however, it doesn't like me trying to do 2 things at once when i press A.
if anyone knows how i can get this working, i would be very grateful :)
the relevant event sheet and sprites:
Judging from what I'm seeing, it seems that you don't have an event where holdinggun becomes = to 1.
Did you create an event where, lets say if player is on "collision with gun" then "set value HoldingGun=1"?
Otherwise the animation won't work because HoldingGun never becomes equal to 1. You need an event where the global variable "HoldingGun" can become equal to 1.