Me again
Sorry, but I'm having trouble with getting my GUI to fade in?
I'm using this line:
int trans = gInventory.Transparency;
while (trans < 100) {
trans++;
gInventory.Transparency = trans;
Wait(1);
}
(with amended gInventory to correspond with my GUI name)
Every time I try to test it, the game won't load and says there's a compilation error. "Expected integer value after "=""
Thing is, when I put a number after the "=" it still won't work, and says that it expected a "," or ";" and not "gInventory". So, I try both a "," and a ";" - and still, no dice. It just says "unexpected gInventory" after that.
Can anyone enlighten me as to what I'm doing wrong here? Thanks :Z

I'm using this line:
int trans = gInventory.Transparency;
while (trans < 100) {
trans++;
gInventory.Transparency = trans;
Wait(1);
}
(with amended gInventory to correspond with my GUI name)
Every time I try to test it, the game won't load and says there's a compilation error. "Expected integer value after "=""
Thing is, when I put a number after the "=" it still won't work, and says that it expected a "," or ";" and not "gInventory". So, I try both a "," and a ";" - and still, no dice. It just says "unexpected gInventory" after that.
Can anyone enlighten me as to what I'm doing wrong here? Thanks :Z