toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
Spawning Actors?
goku123
Member
Posts:
20
July 2011
edited November -1
in
Working with GS (Mac)
I need help with random spawning!! I don't know how to make the actor spawn at different times.
Comments
SamXOOO7
Member
Posts:
47
July 2011
what do you exactly mean by different times?
ORBZ
Member
Posts:
1,304
July 2011
This has a 1 in 5 odds of spawning an actor every second
`
timer every 1s
-- chance = random(1,5)
-- rule when chance == 1
---- spawn
`
goku123
Member
Posts:
20
July 2011
Meaning like if I want like a wave of actors coming at me at different times.
ORBZ
Member
Posts:
1,304
July 2011
did u read my post? It does that. it's up to you to adjust the timing and the probability to suit your game.
Sign In
or
Register
to comment.
Comments
`
timer every 1s
-- chance = random(1,5)
-- rule when chance == 1
---- spawn
`