here is the flash function:
function flash() { var temp2; while (player == null) {wait (1);} my.passable = on; my.invisible = on; my.lightred = 250; my.lightgreen = 250; my.lightblue = 170; while(player.flash_light == on) { my.lightrange = 100; temp.x = max_dist * cos(player.pan) * cos(player.tilt) + player.x; temp.y = max_dist * sin(player.pan) * cos(player.tilt) + player.y; temp.z = max_dist * sin(player.tilt) + player.z; trace_mode = ignore_models + use_box; vec_for_vertex(temp2,player,711); my.skill1 = trace (temp2, temp); if (my.skill1 != 0) { temp.x = (my.skill1 - 30) * cos(player.pan) * cos(player.tilt) + player.x; temp.y = (my.skill1 - 30) * sin(player.pan) * cos(player.tilt) + player.y; temp.z = (my.skill1 - 30) * sin(player.tilt) + player.z; vec_set (my.pos, temp); } wait(1); } my.lightrange = 0; ent_remove(me); } { proc_late(); // not sure if this is right lol ... }
My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
|