Totally Tripping Booleans!

mhedgesmhedges Raised on VCSMember Posts: 634

Hello -

I always seem to get stuck with the silly stuff!

I have a button which the player should press if the random value equals the button value (1). The player has one second to perform this, otherwise he fails this attempt, and gets another (and so on).

If the button is tripped, then it cannot be tripped for the remainder of the second (to perform the button press). This is where I'm stuck , as I can still trip the button if I press it more than one time within that second.

Should I put at the top of the rules in the button something like "if tripped = false, then if pressed = tripped"?

I'm going to try that anyways, just checking if this would be the best approach. Regards.

Comments

Sign In or Register to comment.