Timer question

BenSawyerBenSawyer Member, PRO Posts: 37
edited October 2012 in Working with GS (Mac)
Why doesn't the following work?

give actor custom attribute of mytimer (real)

change attribution mytimer to self.time

display text self.mytimer

All I get is 0 and no change

but if I just do...

display text self.mytimer it displays

It seems like display text constantly updates but when I do a change attribute it's a one time stamp unless it's inside a rule. However, I've nested inside rules that are always true and I can't get it to update. Still tinkering but not sure what I'm missing...

Comments

  • gamesfuagamesfua Member Posts: 723
    Try CONSTRAIN instead of CHANGE.
  • gamesfuagamesfua Member Posts: 723
    The constrain attribute constantly checks for something or constantly does something. Change is more of a one time or one trigger type event.
  • BenSawyerBenSawyer Member, PRO Posts: 37
    Thanks! I feel like a n00b trying not thinking of this... thanks a bunch!
  • gamesfuagamesfua Member Posts: 723
    hehe. no worries. that's what these forums are here for. happy it helped you out and good luck on your game!
Sign In or Register to comment.