Posted By: Nowherebrain
reading BMAP's - 07/11/09 12:27
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....
I want to read from skin 2 though...any pointers would be appreciated.
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.