namnra
WI Forum Novice
Joined: 05 Jan 2009 Posts: 3
|
Posted: Mon Jan 05, 2009 3:15 am Post subject: Newbie help |
i'm a newbie to this mission editor stuff, i just wanted to know how could i make the enemy start off by mining by itself, build structures by itself and then start attacking me whenever its ready?
|
Callex
Established Forum User

Joined: 17 Dec 2008 Posts: 65 Location: United Kingdom
|
Posted: Mon Jan 05, 2009 8:27 am |
Its all done by triggers. Unfortunately its not possible to have the AI build more than 5 buildings as of yet because of a spawn bug, but it should be fixed soon...
You can make the miners/attack groups by opening the 'Unit Groups' editor in the 'Settings' menu. First, press 'New' to create a new group, you can rename the group by clicking the name and waiting a short while. Choose the side that creates the group, then add whatever units you want to be within it. For miners, add two or so Bullpups to the group and have a single 'Mine' action. You can make the AI player build the unit group using the 'Create Unit Group' action in the trigger editor, or by ticking the 'Create on level load' checkbox.
Attack groups are made using the same method but with different actions (namely 'Attack' and 'Guard').
Hope this helps - the help file explains this a lot better than me so check it out if you're still unsure!
|