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

make neutral hostile not agressive

Status
Not open for further replies.
Level 2
Joined
May 3, 2013
Messages
8
i wonder how do i make hostile units not aggressive?

i mean when i attack hostile 1, a nearby hostile 2 wont attack me..

i know its in gameplay constants(maybe) but i dont know where..
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
@xchan
  • Untitled Trigger 001
    • Events
      • Unit - A unit owned by Neutral Passive Is attacked
    • Conditions
      • (Unit-type of (Attacked unit)) Equal to Forest Troll
    • Actions
      • Unit - Change ownership of (Attacked unit) to Player 2 (Blue) and Change color
Try this trigger for the converting of Neutrals to Enemy when attacked but there is a disadvantage to this one like when they are targeted by spells, they dot convert but this might help you!
 
@xchan
  • Untitled Trigger 001
    • Events
      • Unit - A unit owned by Neutral Passive Is attacked
    • Conditions
      • (Unit-type of (Attacked unit)) Equal to Forest Troll
    • Actions
      • Unit - Change ownership of (Attacked unit) to Player 2 (Blue) and Change color
Try this trigger for the converting of Neutrals to Enemy when attacked but there is a disadvantage to this one like when they are targeted by spells, they dot convert but this might help you!

But that's means he has to make Neutral Passive as enemy for all players.
 
Level 2
Joined
May 3, 2013
Messages
8
Try changing these in the gameplay constants...
Combat - Call for help, creeps - 0
Creeps - Guard Distance - 0
Creeps - Guard Return Distance - 300
Creeps - Return time - 2 seconds

still didnt work but i think i can make use of this ill just tweak it a little


EDIT: Id like to know an event where a unit takes damage.. but in gui there is only specific unit i dont know how to put the damaged unit into a variable
 
Status
Not open for further replies.
Top