----Can i have an attribute like this?----

diegocsdiegocs Member Posts: 531
edited November -1 in Working with GS (Mac)
I wan't to have the less amount of attributes possible, so i wanted to do something like every time a variable is a multiple of 10 (ej 10, 20, 30), then do something. Is this possible

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Yep heres a video

  • RedlerTechRedlerTech Member Posts: 1,583
    Ya I think this might work.

    Have your regular attribute & an additional attribute
    game.Reg
    game.DividedReg

    Constrain DividedReg to foil(Reg/10)

    RULE
    If game.DividedReg = Reg/10

    Do something :D
  • diegocsdiegocs Member Posts: 531
    thanks
Sign In or Register to comment.