Using a counting attribute for star collection.

BlackbirdStudiosBlackbirdStudios Member Posts: 493
edited November -1 in Working with GS (Mac)
Hello all,

I am having a mini crisis with one of my attributes here.

Every time my actor overlaps with a star, it is supposed to add 1 to the star counter attribute. But it is continuously adding to it nonstop!

I have it set like this

When actor overlaps or collides:

Change attribute game.starcounter to game.starcounter+1.

I only need it to add once for every star it collides with.

Can anyone help me?

Comments

  • icanmakeicanmake Member Posts: 466
    i think it might be a glitch or something. that has been happening to me for a while and it used to work
  • BlackbirdStudiosBlackbirdStudios Member Posts: 493
    icanmake said:
    i think it might be a glitch or something. that has been happening to me for a while and it used to work

    Well that's really gonna suck if it's true, I hooe it's fixable, REALLY need this to work.
  • BlackbirdStudiosBlackbirdStudios Member Posts: 493
  • icanmakeicanmake Member Posts: 466
    yeah i know i really need it too. i could do so much more if it worked right. anyone know anything else about it?
  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,881
    Is it inside a timer or otherwise set to go off in a timed way? If so, its doing what its supposed to do.

    If its just a rule sitting out by its lonesome self -- well then that would be odd behavior.
  • icanmakeicanmake Member Posts: 466
    RThurman said:
    Is it inside a timer or otherwise set to go off in a timed way? If so, its doing what its supposed to do.

    If its just a rule sitting out by its lonesome self -- well then that would be odd behavior.

    mine is just a rule by itself. no timers at all.
  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,881
    Hmmm.... I just tried it with the rule sitting by itself. It only counts one hit.

    I tried to do different things to see if i can get it to do multiple counts with a simple collide rule. But I can't easily replicate the results you are having.
  • BlackbirdStudiosBlackbirdStudios Member Posts: 493
    I found a workaround myself guys. Thanks for the help!

    -Matt
Sign In or Register to comment.