Attribute won't restart action?

ozboybrianozboybrian PRO Posts: 2,102
edited February 2012 in Miscellaneous
Morning all. Well good afternoon actually. I only woke up just over half hour ago and it's 5:14pm here! Got some reviews to do.

But before that... My game ha a random attribute that when Integer = 0 Change att to Random (1,3) it works the first time but on the second round of the integer = 0 it doesn't repeat the Rule that is supposed to follow.

Any ideas?

Thanks!

Edit - I put a timer in there and it works. Would that be a suitable fix or is there a better way?

Comments

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Does the 0 ever change? So when it becomes zero and doesn't change to another number some time after that it will only execute once.
  • ozboybrianozboybrian PRO Posts: 2,102
    The 0 changes all the time because it's counting from 0 - 4 When it hits 4 I change it back to 0.

    Works fine with the timer though. But yeah I don't understand why it doesn't work the way I had it.
Sign In or Register to comment.