This may sound like a torrent of noobishness but I have to ask:
What is a flag?
I don't know exactly what it is or how to use one.
What is a flag?
I don't know exactly what it is or how to use one.
flag = 1 - flag
const WIND = 1 const RAIN = 2 const SNOW = 4 const THUNDER = 8 const LIGHTNING = 16 global THE_WEATHER = WIND + RAIN + LIGHTNING
if THE_WEATHER and WIND ;there is wind endif if THE_WEATHER and LIGHTNING ;there is lighning endif etc....
Flag = Not Flag
myflag = myflag - 1