Limiting Actors Behaviors
craps
Member Posts: 353
How can I limit an actors/game behavior until a "outcome" is determined.
Like in a shooting game - how to have only one "shot" at a time.
and in game where the player has to make a choice - make a bet - so that no other bets or shots can be made until the sequence of events is over.
Like in a shooting game - how to have only one "shot" at a time.
and in game where the player has to make a choice - make a bet - so that no other bets or shots can be made until the sequence of events is over.
Comments
Wrap all of your Rules with a condition that only allows the Rule to execute when game.busy = false.
Whenever you tap something that requires the user to wait, set game.busy to true.
Set it back to false when the action is complete.