Game Development Community

SetBlackOut broke?

by Howard Dortch · in Torque Game Engine · 03/02/2007 (8:22 am) · 5 replies

SetBlackOut doesn't seem to work. Anyone have a fix?

#1
03/02/2007 (8:42 am)
From TDN:

ESR has an excellent guide to asking questions of engineers, the smart way.
#2
03/02/2007 (8:46 am)
What are you trying to say? It's a simple question. Does it work or not?
#3
03/02/2007 (8:53 am)
What he means is:

What does not work?
How are you using it?
Some code to see if it is SetBlackOut or your code?
#4
03/02/2007 (8:59 am)
Ok in the engine:
ConsoleMethod( GameConnection, setBlackOut, void, 4, 4, "(bool doFade, int timeMS)")

from game script:
%client.setBlackout(true,1000); << doesn't work
%client.player.setBlackout(true,1000); << doesn't work
#5
03/02/2007 (4:24 pm)
It works just fine, providing you use the right syntax.

serverConnection.setBlackout(true, 1000);