Spawning random actors

Hi everyone!
Is there any possibility in GameSalad to spawn random actors from those you have?
Please help!

Comments

  • -Timo--Timo- Member Posts: 2,313
    in the actor you want to have a random location
    change self.position.X to random(min,max) so something like random(300,700)
    change self.position.Y to random(min,max) so something like random(100,200)
    in another actor you can do something like every 1 second spawn the random actor ;)
    hope this helped.
  • MadCursorMadCursor Member Posts: 15
    in the actor you want to have a random location
    change self.position.X to random(min,max) so something like random(300,700)
    change self.position.Y to random(min,max) so something like random(100,200)
    in another actor you can do something like every 1 second spawn the random actor ;)
    hope this helped.
    And what if I want to spawn these random actors in one axis, but so they do not overlap each other, when started moving? Note: I want them to start movement from one point
Sign In or Register to comment.