• 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.

Triggering (as allways)

Status
Not open for further replies.
Level 6
Joined
Apr 20, 2007
Messages
232
I want to make creeps move around a place and attack player if he approaches. Here's what I do
  • Events
  • Unit - A unit enters Creeps at South1 <gen>
  • Conditions
  • And - All (Conditions) are true
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Fel Beast
      • (Unit-type of (Triggering unit)) Equal to Fel Beast Elder
      • (Unit-type of (Triggering unit)) Equal to Fel Beast Male
  • Actions
    • Wait 2.00 seconds
    • Unit - Order (Triggering unit) to Attack-Move To (Random point in (Playable map area))
They don't do a *****. What should I do?
 
Level 2
Joined
Apr 29, 2007
Messages
12
You could not have any conditionhs then do a trigger for every type of unit that enteres. Say it's a fel veast.
If - Entering unit is = to Fel Beast = True, then order unit to Attack-Move to random place in Playable Map Editor.
That would put it all in one trigger. You can make one trigger, then ctrlc+c the trigger and ctrl+v as many times as you want. double clicked it and you can change the entering unit and the region you move it to.
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
This should work:

  • Events
  • Unit - A unit enters Creeps at South1 <gen>
  • Conditions
  • Or - Any (Conditions) are true
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Fel Beast
      • (Unit-type of (Entering unit)) Equal to Fel Beast Elder
      • (Unit-type of (Entering unit)) Equal to Fel Beast Male
  • Actions
    • Unit - Order (Entering unit) to Attack-Move To (Random point in (Playable map area))
// Never had the problem of DenZel94... I guess I'm just lucky?
 
Last edited:
Status
Not open for further replies.
Top