ahwa Posted May 17, 2015 Share Posted May 17, 2015 (edited) I have to determine whether it is StrategicControlMode I can not find its interface I like this code: Data = {'IsStrategic': true} def New_SuperGunMarker(self): Old__SuperGunMarker(self) global Data if self.__isStrategic == True: self.__gm1.reset() self.__gm2.reset() Data['IsStrategic'] = true if self.__isStrategic == False: Data['IsStrategic'] = false Old__SuperGunMarker = _SuperGunMarker.reset _SuperGunMarker.reset = New_SuperGunMarker But they are not receiving true or false value Please help me master!! Edited May 17, 2015 by ahwa @ Quote Link to comment Short link Share on other sites More sharing options...
Helkar Posted May 17, 2015 Share Posted May 17, 2015 I have to determine whether it is StrategicControlMode I can not find its interface I like this code: Data = {'IsStrategic': true} def New_SuperGunMarker(self): Old__SuperGunMarker(self) global Data if self.__isStrategic == True: self.__gm1.reset() self.__gm2.reset() Data['IsStrategic'] = true if self.__isStrategic == False: Data['IsStrategic'] = false Old__SuperGunMarker = _SuperGunMarker.reset _SuperGunMarker.reset = New_SuperGunMarker But they are not receiving true or false value Please help me master!! if BigWorld.player().inputHandler.ctrlModeName == 'strategic' 1 @ Quote Link to comment Short link Share on other sites More sharing options...
ahwa Posted May 17, 2015 Author Share Posted May 17, 2015 if BigWorld.player().inputHandler.ctrlModeName == 'strategic' I know how to use the Thank you very much @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.