Difference between revisions of "Mission Editor Factory Orders Tutorial"

From Zero-K
Jump to navigation Jump to search
(Ported from ZK wiki by DotNetWikiBot)
 
m (Ported from ZK wiki by DotNetWikiBot)
Line 47: Line 47:
  
 
Test the mission.
 
Test the mission.
[img]http://zero-k.info/img/clans/testMi_bg.png[/img]
+
http://zero-k.info/img/clans/testMi_bg.png

Revision as of 07:01, 25 June 2016


Place a factory.

29mx5hz.jpg

Create a "Give Factory Orders" action in the initial trigger. Selecting no factory group means the orders will be given to the units created in this trigger. Navigate the build menus and add a Glaive to the build queue.

If you try to order units a factory can't build, it will ignore your request.

2lig2dw.png

If you stop here the Glaive will just stand there in front of the factory. Not very useful. Create a new trigger and add the "Unit Finished In Factory" condition. Keep the default settings (nothing selected).

2v2885k.png

Now create a Give Orders action and select the "Latest Factory Built Unit (Player 1)" group. Place a fight order on the enemy fusions.

kc1cmg.jpg

If necessary, create a trigger that gives you a resource income.

2ihus0i.png

Now test the mission. A Glaive will be built and will attack the fusions.

spring08262010101520221.jpg

What if you want to send waves of units, instead of ordering them one by one?

Add the "raiders" group to the built unit groups in the factory orders screen, and enable repeat mode. The factory will build Glaives non-stop and place them in the "raiders" group.

25i213k.png

Change the condition of the orders trigger from "Unit Finished in Factory" to "Metronome Ticks". Set the time between waves to two minutes.

j6hh5k.png

Now select the "Give Orders" action and change the group to "raiders". A fight order will be given to all units in the raider group every two minutes.

2jes5l5.jpg

Increase the trigger count, otherwise only a single wave will be sent.

33bl4j8.png

Test the mission. testMi_bg.png