timer in rule

imbrendinoimbrendino Member Posts: 37
edited November -1 in Working with GS (Mac)
Why doesn't timer work when he's in the rule?

Comments

  • imbrendinoimbrendino Member Posts: 37
    doesn't work
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    timer works in a rule,your gonna have to explain more about what your doing and how you set it up
  • imbrendinoimbrendino Member Posts: 37
    I have an actor who has to make an animation before it is destroyed ..
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    your probably destroying the actor before you have the animation take place, so the actors not there to do the animation

    can u post a screenshot of your rules
  • rlehmrlehm Member Posts: 320
    I have found that rotate doesn't like to work with timers or rules. Works great if it just sits and rotates, but if it's tied to a rule or timer I hve issues. Probably just me.
  • imbrendinoimbrendino Member Posts: 37
    then I put them in this order:
    Rule:
    when overop or collide with actor xxx:
    spawn actor xx;
    play soud;
    destroy;
    timer 5 sec: reset scene;
  • rlehmrlehm Member Posts: 320
    if destroy is before the timer runs out, you have destroyed the actor and the timer will render useless. Maybe:

    Rule:
    when overop or collide with actor xxx:
    spawn actor xx;
    play soud;
    timer 5 sec: reset scene;
    destroy actor
  • imbrendinoimbrendino Member Posts: 37
    doesn't work
  • rlehmrlehm Member Posts: 320
    Maybe move the timer, and 5 sec reset scene INTO the spawned actors rules. So after he is spawned the timer will start and reset?
Sign In or Register to comment.