Hi I need to know how to do quite a complicated trigger. Basically whenever a Haunted gold mine finishes construction I need it to auto spawn Acolytes and then these acolytes to automatically start mining at the haunted mine that was just created.
Step 1} When a Haunted gold mine finishes construction 5 Acolytes are spawned.
Step 2} These Acolytes automatically begin mining at constructed mine.
This is what I have so far but I am having trouble working out how to order all these acolytes to start mining.
Step 1} When a Haunted gold mine finishes construction 5 Acolytes are spawned.
Step 2} These Acolytes automatically begin mining at constructed mine.
This is what I have so far but I am having trouble working out how to order all these acolytes to start mining.
-
AutoMine Undead
-
Events
- Unit - A unit Finishes construction
-
Conditions
- (Unit-type of (Triggering unit)) Equal to (==) Haunted Gold Mine
-
Actions
- Set MineLocation = (Position of (Constructed structure))
- Unit - Create 6 Acolyte (Copy) for (Owner of (Triggering unit)) at MineLocation facing Default building facing (270.0) degrees
- Custom script: call RemoveLocation(udg_MineLocation)
-
Events