Hello!
My object wants to already be transparent, and then move, and then fade away!
int trans = object[0].Transparency;
while (trans < 100) {
oBrent.Move(653, 134, -13, eBlock, eAnywhere);
trans++;
object[0].Transparency = trans;
Wait(1);
That works, but then I fail when it comes to setting it up as transparent before all that code!
SetObjectTransparency (oBrent, 70);
"Type mismatch" it tells me. Hmm, well what should I type to start it at 70 transparency?
I did a forum search and either didn't understand or couldn't find what I was looking for. Help me please!
I'd try:
object[0].Transparency=70;
SetObjectTransparency sounds pre object-oriented scripting to me, but I suspect it was expecting an object number and a value.
Yes, that's the line of code I needed! Thanks Ali!
*Adds Ali to the planned thanks section of the credits*