Exemple #1
0
 def showSixthSenseIndicator(self, isShow):
     if isShow and SpotMessanger.isActive:
         player = BattleUtils.getPlayer()
         position = MinimapUtils.getOwnPos(player)
         text = SpotMessanger.myconfig['ImSpotted']
         controller = SpotMessanger.getController(player)
         SpotMessanger.mySendMessage(controller,text.replace("{pos}", position+""))
         SpotMessanger.myDoPing(controller,position)
         SpotMessanger.myCallHelp(controller)                
     return oldShowSixthSenseIndicatorFromSpotMessanger(self,isShow)
Exemple #2
0
 def showSixthSenseIndicator(self, isShow):
     if isShow and SpotMessanger.isActive:
         player = BattleUtils.getPlayer()
         position = MinimapUtils.getOwnPos(player)
         text = SpotMessanger.myConf['ImSpotted']
         controller = SpotMessanger.getController(player)
         SpotMessanger.mySendMessage(controller,
                                     text.replace("{pos}", position + ""))
         SpotMessanger.myDoPing(controller, position)
         SpotMessanger.myCallHelp(controller)
     return oldShowSixthSenseIndicatorFromSpotMessanger(self, isShow)
Exemple #3
0
 def myDoPing(controller,position):
     if controller and SpotMessanger.myconfig['DoPing']:
         IngameMessanger().doPing(controller,MinimapUtils.name2cell(position))
Exemple #4
0
 def myDoPing(controller, position):
     if controller and SpotMessanger.myConf['DoPing']:
         IngameMessanger().doPing(controller,
                                  MinimapUtils.name2cell(position))