No worries! Here's some more info if you need, of how flags work in Lite-C.
A var is 32-bits. A flag is only 1 bit (since it is either 1 or 0). So a var can contain 32 flags. Every entity has a "flags" var that contains their flags (and some flags in a "flags2" component).
If you want more general purpose flags (like FLAG1...FLAG8) you can store your own in other entity skills, if you know how to access them.
The bitwise
operators are used to interact with individual bits in a variable, and as such can be used to interact with flags.
For example, set(my,INVISIBLE) is the same as:
That means, set all the bits in flags to 1 that are already set in flags OR are set in INVISIBLE. INVISIBLE is all 0s except for a "1" in the right place for the INVISIBLE flag.
It's worth investigating further as you get more into Lite-C.
Jibb