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.

Comments

  • JfranJfran Member Posts: 10
    okay this will take a while to explain.

    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"
  • VolontaArtsVolontaArts Member Posts: 510
    okay this will take a while to explain.

    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"
    makes sense to me! why didnt i think of this lol. thanks bud
Sign In or Register to comment.