S
Skyler Clark
Guest
Hey everyone, so the game I’m trying to make is pretty simple. The player is a ghost and has to possess all of the humans in the room before it can move on. I want it to where the player has to hold down F for 3 seconds while making contact with the human before the human is possessed. Right now I’m only changing the image index for the human when it is possessed.
Now here is where I need help. I want it so that if the player lets go of the F key before te human is possessed, the alarm stops and resets, so when the player goes back and tries to possess the human again, they have to wait 3 seconds again. So basically if they leave and come back I don’t want the human to already be partly possessed. I don’t want the alarm to pause, I want it to reset and not do the effects. I know it’s kind of complicated, sorry. Any help would be greatly appreciated. Thanks!
Now here is where I need help. I want it so that if the player lets go of the F key before te human is possessed, the alarm stops and resets, so when the player goes back and tries to possess the human again, they have to wait 3 seconds again. So basically if they leave and come back I don’t want the human to already be partly possessed. I don’t want the alarm to pause, I want it to reset and not do the effects. I know it’s kind of complicated, sorry. Any help would be greatly appreciated. Thanks!