Spawn a actor in random locations in the spawner
n.ozmerd0570
Member Posts: 5
Hi guys,
Im trying to make an actor spawn randomly in different locations inside a spawner,
This is the code i have now:
Spawn actor: actor place: in front of actor
In the direction: 0 relative to: actor
from position: random(0, self.position.x), random(0, self.position.y)
relative to: actor
The problem i have being facing is that the actor spawns randomly on the right side of the spawner and spawns nothing on the left. What can i change in my code that it spawns on the left side to.
Greetings Nihat
Comments
Random (-100,100)
Socks thank you it worked