Jump to content

Program AI to continuously attack? (Map Editor)


Deliberator

Recommended Posts

Hello,

On the map editor, how would I program the AI to produce endless units and continuously attack?  I shorten the values of attackinterval and attackdelay by a lot but the AI produces the Units and only guards around the base.  It doesn't send the units to attack the opponent. What would I have to add/change in the trigger/teamtypes/text to get the AI units to constantly attack the opponent?

 

Thanks!

Link to comment
Share on other sites

Maybe the path from his base to your base to too complicated. But usually it should work if your script is like: 1. patrol to waypoint (outside base) 2. attack...

Check the box of "prebuild team members..." and "only autocreate AI..." for your teams.

Best way in RA1 is creating teams by hand:

- existence: constantly

- event: elapsed time - 25

- action: create team .... attack1

 

If its not working, there are two more options to force the enemy to attack:

1. set AI to 5. in singleplayer, sadly he will build both allied and soviet tanks

 

2. make a trigger:

- existence: constantly

- event: elapsed time - 5

- action: all to hunt - enemy house

everything will attack, also preplaced units

Edited by Messiah
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...