|
3 registered members (vicknick, 7th_zorro, Quad),
1,020
guests, and 9
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: flashlight from aum 18...
[Re: Blink]
#104042
01/14/07 14:54
01/14/07 14:54
|
Joined: Jan 2006
Posts: 2,157 Connecticut, USA
Blink
OP

Expert
|
OP

Expert
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
|
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."
|
|
|
|