So, I'm trying ot make it so a character and all objects in a room vanish. I figure I'd use transparency to make the character just not be there, but I'm still new (obviously) and don't understand.
So I thought I'd read up on transparency, but the entry on it in the Character functions section wasn't exactly clear. Also, I couldn't find info on it in the FAQs (perhaps I was merely looking in the wrong place?).
In otherwords, any input on the subject and what I'm trying would be nice.
To make your character fully solid:
cEgo.Transparency = 0;
To make your character fully transparent:
cEgo.Transparency = 100;
To gradually make you characters/objects transparent:
int i=0;
while (i<100)
{
cEgo.Transparency = i;
oTable.Transparency = i;
//etc etc for all objects you need
Wait(3); //Change this value for different speeds
i++;
}
For more advanced stuff you can use the Tween Module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=38015.0).
See, I tried that. the game refused to accept it and I don't understand why.
okay, it worked that time. I don't know why or what the problem was the other time. go figure.