Game Development Community

object fade out/in code apparently not working

by Bryan "daerid" Ross · in Torque Game Engine · 12/31/2001 (2:32 pm) · 4 replies

I'm having a problem getting objects to fade in/out.

whenever i do something like:

%obj.startFade( 2000, 0, true );


in-game, the object that I'm calling that on doesn't do crap. It just sits there.

I can %obj.hide() to my heart's content, but no .startFade();

anybody else experiencing this as well?

#1
12/31/2001 (2:44 pm)
It works fine for me (at least it did last time I tried it). Try changing it to false instead of true.

I'll go look at it...


Dark
#2
12/31/2001 (2:46 pm)
That same exact code works fine for me. Are you sure you have %obj set to the right object?


Dark
#3
12/31/2001 (9:12 pm)
Another thing to check. Is %obj in scope?
#4
01/02/2002 (3:27 pm)
Interesting. It started working.

/me shrugs