onevent EVENT_DAMAGEWALL al THISACTOR al RETURN endevent
According to the developer notes, THISACTOR should be the ID of the projectile and RETURN should be the ID of the wall being damaged. But I can shoot at walls with all kinds of weapons and nothing gets logged. It doesn't matter whether it is a wall that has a hardcoded effect or not.