Hey hey!
Is there a way to program the player to have a gun that they can pick up and use anywhere? Like they can press a certain button and it'll fire a bullet and kill/harm what it hits? Is there a way to program that the player has to be facing the enemy in order to shoot it?
I basically want the player to be able to shoot at an enemy to scare it away instead of killing it (as this enemy is very hard to kill lore-wise), and I would like a mechanic where you can also run out of bullets and need to find more. This can probably be done through variables though.
Thank you!
Is there a way to program the player to have a gun that they can pick up and use anywhere? Like they can press a certain button and it'll fire a bullet and kill/harm what it hits? Is there a way to program that the player has to be facing the enemy in order to shoot it?
I basically want the player to be able to shoot at an enemy to scare it away instead of killing it (as this enemy is very hard to kill lore-wise), and I would like a mechanic where you can also run out of bullets and need to find more. This can probably be done through variables though.
Thank you!