08.10.2014, 21:12
(not much time to explain)
OK, I am making an artificial gun, one that is mounted in a window like in, "brother at arms," the iPad game.
Here is a topic with a lot of info, (click me).
I tried a lot of it, modified a lot of it, failed most of it, got real close, failed again...
Here is what I am trying to get...
- Only the closest player is shot, only player in exact center of camera vision, so a radius of about 1.5.
- Don't want to be able to shoot through walls, but I understand that this is hard to do since you can't detect line of sight.
- All of this in a function that returns only the target players ID.
Maybe this should be in the requests section, not sure, I am asking for help, I told you what I did wrong. I've been typing this for like 20 minutes now, on phone!
Thanks!
OK, I am making an artificial gun, one that is mounted in a window like in, "brother at arms," the iPad game.
Here is a topic with a lot of info, (click me).
I tried a lot of it, modified a lot of it, failed most of it, got real close, failed again...
Here is what I am trying to get...
- Only the closest player is shot, only player in exact center of camera vision, so a radius of about 1.5.
- Don't want to be able to shoot through walls, but I understand that this is hard to do since you can't detect line of sight.
- All of this in a function that returns only the target players ID.
Maybe this should be in the requests section, not sure, I am asking for help, I told you what I did wrong. I've been typing this for like 20 minutes now, on phone!
Thanks!