Spawn same Actor but control the next one
Hey GS peeps!
So i have a block that spawns actors... and you can control the spawned actor, but i want to not be able to control it when the next actor spawns... and i want to control the new spawn actor. any ideas?
little more details. like tetris, one block comes, then another then another.
So i have a block that spawns actors... and you can control the spawned actor, but i want to not be able to control it when the next actor spawns... and i want to control the new spawn actor. any ideas?
little more details. like tetris, one block comes, then another then another.
Comments
Make 2 integer attributes. one "game.Attribute" and one actor attribute (self.Attribute)
On the actor that spawns in put change attribute "game.Attribute" to "game.Attribute + 1"
Then under it do change attribute "self.Attribute" to "game.Attribute"
So when the actor spawns it will do those actions in that order, once.
Then on your control rule you just have to add: if "self.Attribute" = "game.Attribute"