def exit(self): SuitPathBehaviorAI.exit(self) self.fsm.requestFinalState() taskMgr.remove(self.followBossTaskName)
def exit(self): SuitPathBehaviorAI.exit(self) self.toonsInRange = [] self.isPanicked = False self.closestToon = None self.resetMaxPanicTime()
def enter(self): SuitPathBehaviorAI.enter(self) # Let's start following the boss. self.fsm.request('follow')
def enter(self): SuitPathBehaviorAI.enter(self) self.createPath()
def unload(self): del self.spot SuitPathBehaviorAI.unload(self)
def __init__(self, suit, spot): SuitPathBehaviorAI.__init__(self, suit) self.spot = spot
def enter(self): SuitPathBehaviorAI.enter(self) self.createPath(fromCurPos=True)
def __init__(self, suit): SuitPathBehaviorAI.__init__(self, suit) self.isEntered = 0