Spawing actors within a spawner spawing actors.
evert
Member Posts: 266
Hi! It's me again with another question.
The title sounds strange but the idea is pretty simple.
I have a working spawner spawing an actor every 0.3 sec (actor A). But once in a while (at random) I want something else (actor to spawn from that same spawner instead of the first actor (actor A).
The problem however is also i don't want them to overlap. I'm looking for something like this: A A A B A A A A B A B
Thanks in advance!
New game!: [Snake Rage]https://itunes.apple.com/us/app/snake-rage/id1463859909
Comments
Every 0.3 seconds
--Change R to random(1,5)
--If R = 5 then spawn Actor B
--Otherwise spawn Actor A
Maybe a silly question, but what is R?
EDIT: think R is a real attribute? it seems to work if i make R a real attribute in self
New game!: [Snake Rage]https://itunes.apple.com/us/app/snake-rage/id1463859909