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

[General] Disable auto aquire enemy for hero

Status
Not open for further replies.
Level 3
Joined
Mar 14, 2011
Messages
21
Hi i just work on a project with advanced camera system and arrow key movement and it works fine and smooth.The problem is not with that but the hero i`m controlling.Its a multiplayer map with 10 players.The hero is ranged and when you try to move it with the arrows it moves fine until an enemy get's in his aquisition range and then it moves towards him,very annoying!

I need help how to disable the hero's auto aquisition (preferably to attack the enemy only when commanded to),or any solution that puts him to sleep.
NOTE: the attack range must be as it is,can't decrease that,also if the aquisition range is set to a small value strangely the attack range is set to that too...

Please i need a good solution,preferably in object editor if anything can be set,a trigger that would disable attack like:
31621928.png


this above would not be good,since i want to controll the unit manually,and attack only when commanded by player(the above trigger would disable the counterattack of the attacking unit completely,I don't want that).A trigger solution is also accepted but i would try with object editor first if possible.THANKS!
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
Hi i just work on a project with advanced camera system and arrow key movement and it works fine and smooth.The problem is not with that but the hero i`m controlling.Its a multiplayer map with 10 players.The hero is ranged and when you try to move it with the arrows it moves fine until an enemy get's in his aquisition range and then it moves towards him,very annoying!

I need help how to disable the hero's auto aquisition (preferably to attack the enemy only when commanded to),or any solution that puts him to sleep.
NOTE: the attack range must be as it is,can't decrease that,also if the aquisition range is set to a small value strangely the attack range is set to that too...

Please i need a good solution,preferably in object editor if anything can be set,a trigger that would disable attack like:
31621928.png


this above would not be good,since i want to controll the unit manually,and attack only when commanded by player.A trigger solution is also accepted but i would try with object editor first if possible.THANKS!

Try setting Creep Guard Distance to 0 in Game Interface or just make a trigger that making them into Neutral Passives then when they are attacked change them into an enemy player*
 
Level 3
Joined
Mar 14, 2011
Messages
21
Try setting Creep Guard Distance to 0 in Game Interface or just make a trigger that making them into Neutral Passives then when they are attacked change them into an enemy player*

Sorry forgot to mention that the enemy is also a hero aswell.The map is a hero arena kind-of,with 10 heroes in a huge arena 3rd person perspective and arrow key movement mixed with mouse movement and camera rotation.There are few is any neutral passive and hostile creeps.

10 players,ranges heroes and i want them to attack eachother only on command,it would be too easy if they start to attack eachother automatically isn't it? :wink:
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
Sorry forgot to mention that the enemy is also a hero aswell.The map is a hero arena kind-of,with 10 heroes in a huge arena 3rd person perspective and arrow key movement mixed with mouse movement and camera rotation.There are few is any neutral passive and hostile creeps.

10 players,ranges heroes and i want them to attack eachother only on command,it would be too easy if they start to attack eachother automatically isn't it? :wink:

Oh, I see. I am very sorry if I didnt get your question. Wait for other responses while I think of a solution maybe.
 
Level 3
Joined
Mar 14, 2011
Messages
21
Set acquisition range to 1 in object editor. That should help quite a lot, but it might not remove the issue altogether.

NOTE: if the aquisition range is set to a small value strangely the attack range is set to that too...

Wont work,setting aq range to 0 is like infinite aq range.Setting it to 1 or other low value decreases also the attack range.Not a good solution :sad:

Oh, I see. I am very sorry if I didnt get your question. Wait for other responses while I think of a solution maybe.
no problem it was my fault i didnt formulated it very well...
 
Level 3
Joined
Mar 14, 2011
Messages
21
You may classify your heroes as peons. They will only automatically attack then when attacked by other peons. So catch that case and interrupt.

Ty man ur very clever,this resolves the problem,but my fault,i guess i mislooked the problem,since your idea is geniously clever.The heroes won't autoattack automatically when one is in other's aq range,yet when i attack the other hero,he will automatically attack me back (tested with 2 human players),so i think it's impossible to do a combat system of this degree.

The system should be that it's an arena with 2 heroes fighting and they run around trying to evade one-another's attack (a bit like hack&slash type but with ranged) the attack should not be homing,i think it's impossible to do it with conventional object editor.

The plan B i have is that delete the attack 1&2 completely and make the combat skill-based only with long range,bullet shooting-like skills.I guess this is the only way i can do it.
 
Status
Not open for further replies.
Top