Need help with simple fix

i have got a game were i ride towards a ramp on a motorcycle and jump off the ram and go over some cars and when i go as far as i can i come down and hit the cars and get a score for how far i went but when i crash into the cars my bike and biker person separate(suppose to happen) but the score carry's on going up and follows my bike instead of the score stopping when i stop how can i fix this ( braydon told me to make a rule stating stop calculating when i crash ( in simple words) but how would i do this ?

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    edited February 2013
    Create a boolean attribute and set it to true. Name it AbleToCalculate. When you hit the ground, change that boolean to false. In the rule that's calculating the distance, add another condition - When attribute game.AbleToCalculate is true. In other words, it will only calculate the distance when you are still in the air.
  • JordeyyJordeyy Member Posts: 409
    @Braydon_SFX your a legend you know that cant wait to work with you fully on my next game or maybe this one in the near future :)
Sign In or Register to comment.