Page 1 of 1

Question about translucent line

Posted: Sat Oct 06, 2007 12:58
by Reinchard
Hey!
I use script:

SetLineSpecial (1, 208, 100);
SetLineTexture (1, SIDE_FRONT, TEXTURE_MIDDLE, "ghost1");

to line id 1, but its not work. Texture "ghost1" is animated and I need activate them in one specific moment. It is possible to set line (in script) to translucent ?

Sorry for my english...

Posted: Sat Oct 06, 2007 13:02
by Enjay
TranslucentLine (lineid, amount, additive?, moreflags)

http://208.78.96.242/wiki/TranslucentLine

Posted: Sat Oct 06, 2007 13:03
by Graf Zahl
Sure. You can't set a line to translucent by changing the special. You have to execute the special (i.e. call TranslucentLine with the appropriate parameters) in the script.