def METHOD_NAME(self, acidx, lat, lon, targdist, cmdtxt):
    qdr, actdist = qdrdist(bs.traf.lat[acidx], bs.traf.lon[acidx], lat, lon)
    self.addcondition(acidx, postype, targdist, actdist, cmdtxt, (lat,lon))
    return True