Timer dosen't always work?

BackUpAndDownBackUpAndDown Member Posts: 685
edited November -1 in Working with GS (Mac)
Hey, I'm using a "Every 1sec timer" to change an attribute to a "Random (1,3)" but sometimes It freezes. Is there a way to fix this?

Comments

  • BackUpAndDownBackUpAndDown Member Posts: 685
    And a...

    Spawn actor if = 1

    Won't just spawn two of the same actors in a row? Is there a way to work around this?
  • BarkBarkCoBarkBarkCo Member Posts: 1,400
    You just need to reset the attribute to 0 so the spawn rule notices a change even when the same number is repeated...

    Timer: Every 1 sec:
    -- Change Attribute to: random(1,3)
    -- Timer: After .5 sec:
    ---- Change Attribute to: 0
Sign In or Register to comment.