Help

Hello everyone,
I wanted to ask if anyone would be able to tell me one thing: how do I make sure that if a Boolean attribute becomes true then an actor specific increases in the number of game?
Thanks in advance

Comments

  • KevinCrossKevinCross London, UKMember Posts: 1,894

    My interpretation of your question is "How do I increase and actors attribute when a boolean attribute is true?"

    If that's correct then it's something like this:

    Rule: If game.mygameattribute is true
    ...Change Attribute: self.myselfattribute = self.myselfattribute + 1

    If I've misunderstood then please add a little more detail to your question.

  • SocksSocks London, UK.Member Posts: 12,822

    @poopopoopopop said:
    . . . how do I make sure that if a Boolean attribute becomes true then an actor specific increases in the number of game? . . .

    It's not clear what you are asking, "an actor specific increases in the number of game" is confusing (to me at least).

  • poopopoopopoppoopopoopopop Member Posts: 3

    Sorry I had misspelled: how can I increase the number of actors on the stage of the game according to a Boolean attribute? @Socks @KevinCross

  • KevinCrossKevinCross London, UKMember Posts: 1,894

    How many do you want to spawn when it's true? Or do you want to spawn an actor every x seconds while it's true?

  • poopopoopopoppoopopoopopop Member Posts: 3

    I want them to appear only one copy when the new attribute is true @KevinCross

  • KevinCrossKevinCross London, UKMember Posts: 1,894

    Rule: If game.mygameattribute is true
    ...Spawn Actor

Sign In or Register to comment.