FANDOM


Fade a 3D object to the current ambient level. You can use this command with dbGhostObjectOn to set the transparency of the object.

SyntaxEdit

dbFadeObject(int Object, int Fade)
dbFadeObject(int Object, float Fade)

int Object is the number of the object you set the fadeing on.
int Fade or float Fade is the value of fading.

If you set this value to 0 and the ambient light to 0 the object will become completely unlit.
Set the fade value to 200 if you want double the illumination and set it to 50 if you want to halve illumination.

See AlsoEdit

dbSetAmbientLight

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.