toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
----Can i have an attribute like this?----
diegocs
Member
Posts:
531
August 2011
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
JohnPapiomitis
Member
Posts:
6,256
August 2011
Yep heres a video
RedlerTech
Member
Posts:
1,583
August 2011
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
diegocs
Member
Posts:
531
August 2011
thanks
Sign In
or
Register
to comment.
Comments
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