So, I'm making a survival horror game, as some of you know (Thanks again Beran =D) and I decided to put a "taser" in the game to ward off ghosts. Here's how the event goes so far for when the taser has ammo:
>if taser in inventory
>Show animation "Shock", this event
>Control Variables "Taser Shots"-=1
>Control Variables "Enemy Health" -=1
My problem is... well, would this even work? I'd go u to the enemy, press enter, and his health should go down, but If I have two or more enemies on the screen, wouldn't all their health go down?
I don't know, this whole concept is confusing the hell out of me >_<.
Also, would this work for the bullets?
>if taser in inventory
>Play SE "Reload"
>Change variables "Taser Sots" +=5
>change items "Taser Shots" -=1
>if taser in inventory
>Show animation "Shock", this event
>Control Variables "Taser Shots"-=1
>Control Variables "Enemy Health" -=1
My problem is... well, would this even work? I'd go u to the enemy, press enter, and his health should go down, but If I have two or more enemies on the screen, wouldn't all their health go down?
I don't know, this whole concept is confusing the hell out of me >_<.
Also, would this work for the bullets?
>if taser in inventory
>Play SE "Reload"
>Change variables "Taser Sots" +=5
>change items "Taser Shots" -=1