Author Topic: Ball Zone Events  (Read 630 times)

I think it would be really cool (maybe not that useful, but who knows) if we had zone events that worked with balls, and probably projectiles if they are the same. I'm making a whole football game run by bots, so I need zones to make the bots know where the ball is and such.

So what do you think? Is this possible?


Isn't there an onballhit input event already?  Though I could see using zonebricks for this as very helpful, you can easily already do this with the aforementioned event.

try that gamemode has event for the ball, and check it out.
http://forum.blockland.us/index.php?topic=234735.0

Isn't there an onballhit input event already?  Though I could see using zonebricks for this as very helpful, you can easily already do this with the aforementioned event.

i cant use the onballhit event because its only useful for when the ball touches the ground bricks. if the ball was in the air there would be no way to check the position of the ball until it touches the ground

i cant use the onballhit event because its only useful for when the ball touches the ground bricks. if the ball was in the air there would be no way to check the position of the ball until it touches the ground

Well, if you want zonebricks to function with balls, it would also work for the balls to hit an invisibrick wall in the same fashion that a ball could pass through a zone.  Trust me, I've made playable stadiums for all of the balls, and boxing.  Onballtouch works well.

balls are vehicles
i think

so get some vehicle events

balls are vehicles
i think

so get some vehicle events
Balls as in the football items
not the one you spawn, lol

Balls as in the football items
not the one you spawn, lol
oh lol

yeah we need projectile events

Can't really do a onProjectileEnterzone event because projectiles do not cause a callback when they enter a trigger. The best we could do is make "Projectile Detectors" that would loop constantly and check if there are projectiles in them.