flags in lite-c

Posted By: onslaught147

flags in lite-c - 10/07/07 01:15

how do you deal with flags in lite-c because i use flags for my collsion detection, it worked in the trial version but now in the free version it brings up error codes.
Posted By: Bot190

Re: flags in lite-c - 10/07/07 12:46

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

Re: flags in lite-c - 10/07/07 12:51

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
Posted By: onslaught147

Re: flags in lite-c - 10/07/07 16:35

thnx for the help shadow but you have to capitalize flag everytime u use but still thnx a lot
Posted By: Shadow969

Re: flags in lite-c - 10/07/07 16:40

oops i'm not attentive
Posted By: Bot190

Re: flags in lite-c - 10/08/07 00:12

im a retard, i guess i meant the flags that you can set in gamestudio, didn't know they still worked in lite-c.
Posted By: Machinery_Frank

Re: flags in lite-c - 10/08/07 11:57

Quote:

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




Isn't "reset" the wrong vocabulary for this function? reset means re-set. So it turns it off and on again. Or am I wrong with that translation?

Re-boot does not switch your pc off, it just starts it again. The same counts for reset (re-set).
Posted By: Damocles

Re: flags in lite-c - 10/08/07 13:12

should be "unset"
© 2024 lite-C Forums