Looks like a missing ; in the line before. tergetPos = self.origin + (0, 0, -400) if(!level.airstrikeIgnoreCeils) To