Gets the ambient light. x, y and z attributes are used as R, G and B color values. Normally ranges between 0 and 1.
x
y
z
0
1
vector3 green(0,1,0); if (GetAmbientLight() == green) { print("I see green people"); }