Adding by +0.1?

Billyd1Billyd1 Member Posts: 133
edited November -1 in Working with GS (Mac)
Hi, In my game I want to add +1.1 to the score when a certain actor is pressed. But it doesn't add +1.1 it just adds +1 all the time. So if I press a button four times the score should be 4.4 but it displays as 4, can we not add by +0.1?

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    the attribute for the score has to be a real attribute and not a interger. Intergers will only go up and down by whole numbers, real attributes will go up and down by decimals
Sign In or Register to comment.