Quote:

you can't use flags, it only works with Gamestudio, not Lite-c.



who told you that?

my.flag1 = on;//C-script
set(my,flag1);//lite-c

my.flag1 = off;//C-script
reset(my,flag1);//lite-c

read manual for further details