BrunoMine wrote:I am using 0.4.13.
This only happens when we throw up (no shooting blocks).
Yes, if you shoot the thing straight up in the air then you would expect it to fall right back on your head, would you not?
BrunoMine wrote:I am using 0.4.13.
This only happens when we throw up (no shooting blocks).
stu wrote:Yes, if you shoot the thing straight up in the air then you would expect it to fall right back on your head, would you not?
BrunoMine wrote:stu wrote:Yes, if you shoot the thing straight up in the air then you would expect it to fall right back on your head, would you not?
try to shoot 45º in the horizontal plane of the earth.
O /
| /
|
|
if pos then
self.object:moveto(pos)
end
76 - self:stop(object:getpos())
76 + local luaentity = object:get_luaentity()
77 + if luaentity == nil or luaentity.mob_name == nil then
78 + self:stop(object:getpos())
79 + else
80 + self.object:remove()
81 + end
BrunoMine wrote:I realized a change in the code
crossbow.luaYour phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
76 - self:stop(object:getpos())
76 + local luaentity = object:get_luaentity()
77 + if luaentity == nil or luaentity.mob_name == nil then
78 + self:stop(object:getpos())
79 + else
80 + self.object:remove()
81 + end
local luaentity = object:get_luaentity() or {}
if luaentity.mob_name then
self.object:remove()
else
self:stop(object:getpos())
end
benrob0329 wrote:@Stu, do you plan to ad things like long/recurve bows, paintball, and airsoft?
Glorfindel wrote:Long bows could be more powerful, but take longer to load perhaps?
stu wrote:Glorfindel wrote:Long bows could be more powerful, but take longer to load perhaps?
Historically, I believe it was the other way around but hey, if someone can provide me with a fitting and license compatible texture then I will consider adding a long bow.
Soudon wrote:If you want to give what I added a shot here, sorry new to github I think I have it properly uploaded now.
https://github.com/Soudon/Shooter/archive/master.zip
Soudon wrote:I was planning on a fork I just don't know how to do it. Like I said I'm new to github.
And thank you
Users browsing this forum: No registered users and 41 guests