Author Topic: onBotTouch  (Read 757 times)

Is there any way to detect when a bot touches a brick without rewriting the onTouch event like the bot events do?

Can't you use (playertypedatablocknamehere)::onCollision(%this, %other,%args,%here) ?

Can't you use (playertypedatablocknamehere)::onCollision(%this, %other,%args,%here) ?
Tried that with just an echo, nothing happened.

Wait, are you trying to remake bot events? That would be amazing

Tried that with just an echo, nothing happened.
Try Armor::onCollision

Wait, are you trying to remake bot events? That would be amazing
no.
Try Armor::onCollision
I did.

Brick collision doesn't have a ::onCollision callback