Animation

Sorry that I've been posting a lot of questions, but I have a timer set to every random(5-9) seconds and in the timer I have the animation behavior but all it does is quickly flash one image for a split second and goes away and doesn't play the animation.

Best Answer

Answers

  • deej011deej011 Member Posts: 159

    I have this exact same problem would be great if someone could help out.

  • CowuniverseCowuniverse Member, PRO Posts: 97

    @deej011 said:
    I have this exact same problem would be great if someone could help out.

    I figured it out.

    just put another timer in it saying for how many seconds

  • SocksSocks London, UK.Member Posts: 12,822
    edited February 2015

    @Cowuniverse said:
    I figured it out.

    You can't have an Every + random timer, the concept doesn't make any sense.

    Every means 'all', while random generates a list of different numbers, so you are saying 'doing the following (behaviours/rules) every different amount of seconds' - 'every' doesn't make sense in this context.

    And it doesn't work ! Well it works, but how you'd expect it to work, it generates a single random number and uses that every time the timer cycles, so if the random number selected is 7, then the timer will trigger the behaviours/rules within it every 7 seconds. Which makes sense.

    Also an Every timer will not run until after the length of time specified, so if the random number chose was 6, you might hit play, see nothing happen, then return to your code before sitting out the 6 seconds thinking nothing was happening.

  • CowuniverseCowuniverse Member, PRO Posts: 97

    @Socks said:
    And it doesn't work ! Well it works, but how you'd expect it to work, it generates a single random number and uses that every time the timer cycles, so if the random number selected is 7, then the timer will trigger the behaviours/rules within it every 7 seconds. Which makes sense.

    Yeah, I noticed that with the random, but I could make it random by making a table.

Sign In or Register to comment.