Forum Archive. A read-only snapshot of the Warfare Incorporated forums (2003–2020), preserved for historical purposes.  ·  warfareincorporated.com
Warfare Incorporated Forum

Subject Removed.
Author Message
Anonymous
Established Forum User
Joined: 11 Aug 2003
Posts: 72
 Post Posted: Thu Jan 15, 2009 4:13 pm  Post subject: Subject Removed.

Post Removed.

Last edited by Anonymous on Sat Oct 17, 2009 6:35 pm; edited 2 times in total
Callex
Established Forum User


Joined: 17 Dec 2008
Posts: 65
Location: United Kingdom
 Post Posted: Thu Jan 15, 2009 11:17 pm  

To make unit groups spawn randomly:
1. In the unit group editor, make sure the 'Random Unit Group' checkbox is ticked for your three unit groups. Then, Go into the trigger editor, click 'New' and set the trigger to execute for side 2.

3. Click the 'Conditions' tab at the top of the window and press 'New'. From the drop-down menu select 'Every NN Seconds'. Click the highlighted text that says 'quantity' and enter 45 as the value.

4. Now Click the 'Actions' tab at the top of the window and press 'New'. Find 'Create Random Unit Group' from the drop-down menu. Once the action is added, click 'New' again and add the 'Preserve Trigger' action; this will allow your trigger to execute multiple times.

To make unit groups attack:
In the unit group editor select your unit group and click 'New' under the 'Actions' group. From the drop-down menu find 'Attack' and enter which units of which side you would like th units to attack. You can make multiple orders into a chain for more complex behaviours.

Getting the AI to build is a little trickier... There'ss currently a bug with the editor that only allows the AI to build six structures at most so a lot of authors just don't bother.

To make the AI build:
1. Make a location for the building to be constructed, you can do this by dragging the blue box with 'new' inside of it from the units panel. Dragging from the corners of the box allows you to reshape it.

2. In the trigger editor, create a new trigger with an action such as 'Owns Units' so that it will fire when the AI has lost one of its buildings.

3.For actions you need to use the 'Create unit at area' trigger from the dropdown menu. Set the AI to 'Build' the desired structure and set the location to the one you created earlier.

Hope some of this helps! :) I was abit vague in areas so if there's something that doesn't make sense just say!