attribute +1

birkulesbirkules Member, PRO Posts: 29
edited November -1 in Working with GS (Mac)
hi everybody:) i have a little problem getting an integer attribute to get a higher number each time two actors collide, i used the change attribute to +1, is this the wrong way? cause it only gets from 0 to 1 and stops there
would be great if anybody have a tip:)

Comments

  • CaramelTigerClanCaramelTigerClan Member Posts: 143
    Are you writing it like this?

    attribute = attribute + 1

    and not like this:

    attribute = 1
  • birkulesbirkules Member, PRO Posts: 29
    just attribute =1
  • CaramelTigerClanCaramelTigerClan Member Posts: 143
    birkules said:
    just attribute =1

    There's your problem, you're telling the program to set the attribute to the value of 1 regardless of what value the attribute is.
  • birkulesbirkules Member, PRO Posts: 29
    hehe just me being a noob at this, thanks the other way worked:)
Sign In or Register to comment.