|
| 25 Nov 2011 12:08 AM |
Go to my profile and check out my place! It has an extensive array of buildings and weapons, and I plan to expand both in the near future. The guns use raycast and are varied in function, if not design. It's currently a free-for-all fight, but I'm considering adding three teams. And classes. Those are important... but I'm not so great at scripting. Anyways, tell me how you like it, and whether or not you think the guns are balanced. Bug reports and suggestions for improvement are always welcome. |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2011 12:24 AM |
if hit.Parent.ClassName == "Tool" or hit.Parent.ClassName == "Hat" then hit = hit.Parent end |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2011 08:53 PM |
Well, I finally figured out a place to insert that so it doesn't break the script. Hope it works, I'll test it the next time someone shows up. |
|
|
| Report Abuse |
|
|
|
| 26 Nov 2011 08:37 PM |
| Classes added. Yay. This post is also a *bump*. |
|
|
| Report Abuse |
|
|
|
| 28 Nov 2011 11:44 PM |
Finally! I fixed the hat/tool hit problem. Previously, I had your lines after the damage lines, so it was useless. I tried putting it before, but that caused the gun to occasionally malfunction. Finally, I figured out that I had to put
if hit ~= nil then
in front of it. Triumph!
I haven't had a chance to test it though. So... Theoretical Triumph!
This post is also a *bump*. |
|
|
| Report Abuse |
|
|