spawn actor multiplications
ledbug
Member Posts: 7
hello, I have a problem with actor (little platform) who multiplies each time he appears on the screen. First spawn 1 platform, second time 2 platforms, third time 4 platform. Can anybody explain me this?
Comments
What is the rule that spawns the actor?
You have probably set up a rule, which causes this or you added the rule to the wrong actor.
It doesn't mean, that the actor respawns on that spot again.
If you add spawn platform to the platform, it will spawn little child platforms every 5 seconds on top of itself and because they all have this rule, they will also spawn little child platforms every 5 seconds.
What you need is
change attribute: self.X to 200 (if you want it to be respawned at the X 200)
Suggest that you copy your character and remove the spawn rule from the copy. Then have the original spawn the copy. That should do the trick and be less resource hungry.