toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
Timer......
eliehang
Member, PRO
Posts:
105
January 2010
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
firemaplegames
Member
Posts:
3,211
January 2010
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
eliehang
Member, PRO
Posts:
105
January 2010
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?
scitunes
Member, Sous Chef
Posts:
4,047
January 2010
is there some sort of move or velocity behavior in the spawned bullet?
eliehang
Member, PRO
Posts:
105
January 2010
just move.
firemaplegames
Member
Posts:
3,211
January 2010
hmmm. that should work. Is your Move Rule is Relative to Scene?
not Relative to Actor?
eliehang
Member, PRO
Posts:
105
January 2010
is this on the bullet actor or the enemy actor?
Sign In
or
Register
to comment.
Comments
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
not Relative to Actor?