spawning an actor with another actor with a random timer and spawner

hi guys,
I have a random spawning behavior and I want to spawn two actors together, there are going to be more than one actors and I can't use constrains. Thanks in advance...
Liamo
I have a random spawning behavior and I want to spawn two actors together, there are going to be more than one actors and I can't use constrains. Thanks in advance...
Liamo
Comments
Every (ammount of time between spawns):
change attribute (game.spawnLocationX) to where you want the spawn X to be (probably RND)
change attribute (game.spawnLocationY) to where you want the spawn Y to be (probably RND)
Spawn actor 1 at (game.spawnLocationX,SpawnlocationY) + or - any offset needed.
Spawn actor 2 at (game.spawnLocationX,SpawnlocationY) + or - any offset needed.
Rinse and repeat.
This would only work for spawning 1 actor (group of actors) at a time, unless you had multiple instances of his behaviour going on, each with their own attributes. Also it wouldn't account for if they also need to move in unison, but that's not what you asked so hopefully this is enough to answer your question.