while goon == 1: if i == self.GetNumComponents(): break currentType = self.GetComponentType(i) if currentType == "ServoMotor": self.Motor = i i = i+ 1
def Tick(self): enemy, range = self.GetNearestEnemy() if enemy != None: enemyHead = self.GetHeadingToID(enemy, False) selfangle = self.GetMotorAngle(self.Motor) angleToMoveServo = ( enemyHead + selfangle)
... needToTurnClock = ... if needToTurnClock : self.Input("Servo", 0, 30) else: self.Input("Servo", 0, -30)
BTW : Please Mad, can you post the AI you used for this bot?
PS : I'm surprised about the stability of you bot, so much weight so 'high' and still a good reaction against mako head-attack.
I was thinking of a combo of getLocation(Z and X) to see if the 2 bots are at the same location, and then getLocation(y) of both bots to see who is under whom; and then do what needs done...[/COLOR]
Possibility for a new Tazbot replica?
ALERT- Another WS coming up...
I'm fine with hugging reier
Phil, did you upload a vid or a bot?
...https://gametechmods.com/uploads/files/tazbot.rar