Timer......

eliehangeliehang Member, PRO Posts: 105
edited November -1 in Working with GS (Mac)
I'm trying to make the enemy shoot 3 bullets back to back every 3 seconds.. like ta! ta! ta!...3 sec.....ta! ta! ta!....3 sec.... and so on. How would I set that up?

Comments

  • firemaplegamesfiremaplegames Member Posts: 3,211
    You could do that with 4 Timers...
    The first Timer would wrap around the other three.

    It would look like this:

    Timer
    Every 3 SECONDS

    Timer
    After 0.1 SECOND
    Fire Bullet

    Timer
    After 0.2 SECOND
    Fire Bullet

    Timer
    After 0.3 SECOND
    Fire Bullet

    Hope this helps!
    Joe
  • eliehangeliehang Member, PRO Posts: 105
    hmmm, it didn't work.. the bullets just stood in place when I told them to move forward. Is there a way by making a attribute?
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    is there some sort of move or velocity behavior in the spawned bullet?
  • eliehangeliehang Member, PRO Posts: 105
    just move.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    hmmm. that should work. Is your Move Rule is Relative to Scene?
    not Relative to Actor?
  • eliehangeliehang Member, PRO Posts: 105
    is this on the bullet actor or the enemy actor?
Sign In or Register to comment.