A problem making my score rise when moving.
So I have a working score system but to combat cheating in my game I want to make it so that the player only scores points when they're moving. I thought I could do this the same way I let the score system know my player is dead, with a custom event that sets "Is Moving" to true when player input keys are pressed. However unreal had other ideas, maybe I'm just doing something wrong. Not too sure.
I'll post some pics, see of anyone could help me.
Thanks in advance to anyone who can help!
asked Nov 23 '15 at 11:56 PM in Blueprint Scripting
Do you set IsMoving to false anywhere? A lack of input won't do it automatically.
You might have to poll the player's velocity to find out when he stops.
It could be easier to set the value of IsMoving directly in this case
Follow this question
Once you sign in you will be able to subscribe for any updates here