def defaultFilter(self, request, args):
        if self.av.isLocal():
            if localAvatar.gameFSM and localAvatar.gameFSM.state == 'Cutscene':
                return None


        return FSM.defaultFilter(self, request, args)
Exemple #2
0
 def defaultFilter(self, request, args):
     if request == self.state:
         return None
     else:
         return FSM.defaultFilter(self, request, args)
     return None
Exemple #3
0
 def defaultFilter(self, request, args):
     if request != self.getCurrentOrNextState():
         return FSM.defaultFilter(self, request, args)
Exemple #4
0
 def defaultFilter(self, request, args):
     if self.getCurrentOrNextState() == request:
         return
     else:
         return FSM.defaultFilter(self, request, args)
     return
 def defaultFilter(self, request, args):
     if request == self.state:
         return None
     else:
         return FSM.defaultFilter(self, request, args)
     return None
Exemple #6
0
 def defaultFilter(self, request, args):
     if self.av.isLocal():
         if localAvatar.gameFSM and localAvatar.gameFSM.state == 'Cutscene':
             return None
     return FSM.defaultFilter(self, request, args)
 def defaultFilter(self, request, args):
     if request != self.state:
         return FSM.defaultFilter(self, request, args)
Exemple #8
0
 def defaultFilter(self, request, args):
     if request != self.state:
         return FSM.defaultFilter(self, request, args)
 def defaultFilter(self, request, args):
     if self.getCurrentOrNextState() == request:
         return None
     else:
         return FSM.defaultFilter(self, request, args)
Exemple #10
0
 def defaultFilter(self, request, *args):
     return FSM.defaultFilter(self, request, *args)