Traceline
Ok, I'm trying to use this method instead of using set_user_hitzones because it's supposedly buggy. The problem is whenever I look at someone or whatever, the debug messages and sounds come up and I'm not even firing.
Code:
Code:
|
Quote:
You answered your self :) But i would feel better checking it every frame with a bool. Code:
Then just execute the code through one big if statement ^^ [/small] |
Bah, ok. Now I have to do something with FF :?
I'll try this |
TraceLines happen alot, regardless of whether or not you are firing. Even checking if they are holding the attack button won't work in all situations, because TraceLine is called more often then bullets come out of their gun, and it can be called while the weapon is drawing, holstering, reloading, etcetera.
|
[EDITED]
|
Thats what i was thought ( what avalanche said ) but did not think it was right.
So, what i would do is possibly register The Damage event ? But by then it would be to late to do what ever your going to do. |
What do you suggest I do? ;\
|
Try both ways, and see which one works, if any of them :)
|
| All times are GMT -4. The time now is 23:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.