Author Topic: Is there a default function for brick damage  (Read 509 times)

Since trace() isn't reavealing one, I am wondering if there is a built-in function that will discover if a brick can be damaged by a client, taking into account all of the possibilities of the owner, the minigame(if any), the minigame settings, server settings, and anything else that could affect it.

I have checked many possible objects with dump(), but could not find one, but if one existed I would rather not make a poor attempt at recreating it.

minigameCanDamage? Probably when the projectile and brick are the two arguments, but I don't know about the minigame/other settings.

minigameCanDamage would be what you're looking for.