def METHOD_NAME(self,state,id,events):
    global respTreeAnimsList
    global objTreeList
    PtDebugPrint("ahnyTrees.OnNotify: state=%s id=%d events=" % (state, id), events)
    if id == rgnTrees.id:
        for event in events:
            if event[0] == kCollisionEvent and self.sceneobject.isLocallyOwned() :
                region = event[3]
                regName = region.getName()
                for object in objTreeList:
                    if object == regName:
                        ageSDL = PtGetAgeSDL()
                        treeSDL = list(ageSDL[SDLTrees.value])
                        index = objTreeList.index(object)
                        if treeSDL[index]:
                            respTreeAnims.run(self.key, objectName=respTreeAnimsList[index], netForce = 1)
                            treeSDL[index] = 0
                            ageSDL[SDLTrees.value] = tuple(treeSDL)
                            PtDebugPrint("ahnyTrees.OnNotify: Tree knocked down")