I'm having some issues with reading hit.skin2...I just simply don't know how to return the values from it....lol here is what I am basically trying to accomplish....
Code:
function get_ambient()
{
	c_trace(my.x,vector(my.x,my.y,(my.z - 500)),IGNORE_ME|IGNORE_PASSABLE|IGNORE_SPRITES|SCAN_TEXTURE);
	my.ambient = -55;
	my.ambient = my.ambient + ((hit.red + hit.green + hit.blue) / 3);
}


I want to read from skin 2 though...any pointers would be appreciated.


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/