• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Is there another way?

Status
Not open for further replies.
Level 5
Joined
Mar 25, 2008
Messages
150
  • Dwarf Spawn
    • Events
      • Time - Every 90.00 seconds of game time
    • Conditions
    • Actions
      • Unit - Create 3 Dwarven Footman for (Owner of Dwarven Castle 0004 <gen>) at (Center of Dwarven Spawn <gen>) facing Default building facing degrees
      • Unit - Create 2 Rifleman for (Owner of Dwarven Castle 0004 <gen>) at (Center of Dwarven Spawn <gen>) facing Default building facing degrees
This is the main trigger, but i dont want it to spawn units for neutral hostile or neutral passive so i made this side trigger
  • Dwarf Kill
    • Events
      • Unit - A unit enters Dwarven Spawn <gen>
    • Conditions
      • (Owner of (Triggering unit)) Equal to Neutral Passive
    • Actions
      • Unit - Remove (Triggering unit) from the game
Is there another way doing this or is this the only way?
 
Status
Not open for further replies.
Top