How Do I make An Attribute = A number after something is clicked

teamepiphanyteamepiphany Member Posts: 3
edited March 2012 in Working with GS (Mac)
Im having some trouble with changing My attributes values. I would like it so that I could have a button that when clicked changes an atribute to an exact number rather then just adding on to my already existing number. Example I want it so that when object clicked (Attribute "Lives") =3.
However this doesn't work so im note sure if I cant use the "=" sign or im not typing it in correctly because it seems only "Attribute" + X Works.

Any help is greatly appreciated :)

Comments

  • PhiliePhilie PRO Posts: 240
    edited March 2012
    Just do a rule when actor receives touch then change attribute game.lives to 3 (no need to put in the game.lives or plus sign)
    image
  • teamepiphanyteamepiphany Member Posts: 3
    edited March 2012
    @Philie Oh thank you for the pick, yes that worked perfectly I really appreciate the help :)
Sign In or Register to comment.