How can I automate an action that...

sammyboi1988

  • Joined: Nov 29, 2011
  • Posts: 3

Tue 11/29/2011 - 23:39

Hi,

 

I 'm wondering as to how to setup WinAutomation to listen what actions an AI player on a game makes and to mirror those actions?

 

I would greatly appreciate any help.

 

Thanks in advance,

#1

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2326

Wed 11/30/2011 - 15:12

Hi Sammyboi1988! Welcome to our Forum! Would you please care sharing a few more information as per what it is you want to do? :) Samantha

#2

sammyboi1988

  • Joined: Nov 29, 2011
  • Posts: 3

Wed 11/30/2011 - 22:46

Hi Samantha,

 

Thanks for replying. I'm playing a game similar to command and conquer. I'm using WinAutomation to build my base, it's going faster than a human could possibly go. With the intent on once the base is build I can then, focus on defeating the AI player(s). But it seems it's not fast enough. The "bot" gets defeated within 30 seconds even on the easiest settings.

 

I'm trying to create it to build the base for me. I'm trying to create a conditional that, if the base is under attack and it's still building it. The conditional will then actives and defends the base whilst continuing with the construction.

 

Any input would help. I cannot play the game online as it doesn't support online gameplay. It is soley a client based game.

#3

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2326

Thu 12/1/2011 - 12:14

Hi Sammyboi! Sorry gaming was never my expertise! So if I may ask, how would it understand you're under attack? Do you get a visual (you obviously do) but is there something that winautomation you spot to understand that you're being attacked so that it could take actions upon it? :) Samantha

#4

sammyboi1988

  • Joined: Nov 29, 2011
  • Posts: 3

Thu 12/1/2011 - 18:37

Samantha,

 

I understand what you mean. If I'm playing, I'll get a visual.

 

I got remotely close to my goal by creating 2 tasks. One that builds the base, which then uses the trigger for the second task. The 2nd defends the base. I'm trying to create a 3rd that will attack if I wished.

#5

Samantha

  • Joined: Apr 23, 2010
  • Posts: 2326

Thu 12/1/2011 - 20:07

Great! Keep me updated if you need any help, that I could help you with :) Samantha

#6
Not a member yet? Register

Copyright 2013 - Softomotive Ltd