Question: Computer attacks doodads

Templarion

Member
Reaction score
8
The case is this:
1) marines enter shopping center
2) marines trigger zombie invasion
3) marines CAN close doors of shopping center
4) IF marines closed doors, zombies do NOT attack gates but bump on them and get killed by marines behind them


QUESTION: How can I make zombies automatically attack the gate? At the moment zombies spawn at their "spawn region", get command to "move-attack" to "shopping center region". Zombie do attack marines but if marines closed the gates they don't know how to get inside.
 

jonadrian619

-___-
Reaction score
242
First create a region adjacent to the gate. Then create a trigger like this (initially off):

Code:
Atk.
    Events
        Unit - A unit enters Gate <gen>
    Conditions
    Actions
        Unit - Order (Triggering Unit) to Attack MainGate


If the marines close the gate then enable this trigger. If the gate is open then disable this one so that they could attack the marines and charge.

In some cases where the zombies stop after they destroy the gate just order them to move inside the shopping center.

Hope it helped!
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top