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

[Solved] Help with attack trigger

Status
Not open for further replies.
Level 4
Joined
Jul 19, 2010
Messages
99
  • Attack
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • (Owner of (Entering unit)) Equal to Neutral Hostile
    • Actions
      • Unit - Order (Entering unit) to Attack (Random unit from (Units in (Playable map area) matching (((Matching player) slot status) Equal to Is playing)))
i want the *unit* to attack a random enemy when spawned but the problem is, that the *unit* gets within 300 feet of the random unit and then turns around and goes back to the spawn point. a little help please :)
 
Level 23
Joined
Jan 1, 2009
Messages
1,615
Thats because its a Unit from the neutral hostile npc.
An easy way to fix that is to increase all the Creep settings about Guarding in the Gamplayconstants to 999999(max value)
 

Attachments

  • Capture.JPG
    Capture.JPG
    11.3 KB · Views: 99
Status
Not open for further replies.
Top