Exemple #1
0
 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()
Exemple #3
0
    def enter(self):
        SuitPathBehaviorAI.enter(self)

        # Let's start following the boss.
        self.fsm.request('follow')
Exemple #4
0
 def enter(self):
     SuitPathBehaviorAI.enter(self)
     self.createPath()
Exemple #5
0
 def unload(self):
     del self.spot
     SuitPathBehaviorAI.unload(self)
Exemple #6
0
 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