Event - Unit Notices a target in range/Vision question

Zealot

Member
Reaction score
11
What does this event do exactly? Does the event fire when a unit enters it's range of vision OR does it activate when the unit breaks it's guard position and goes for an auto-attack?

In addition, is there a way to detect if a unit gets in a certain range of a unit or gets in it's range of vision without using a periodic event?
 

vypur85

Hibernate
Reaction score
803
> What does this event do exactly?
When it gets into the range of vision. Meaning within the acquisition range of your unit.
 

Zealot

Member
Reaction score
11
> What does this event do exactly?
When it gets into the range of vision. Meaning within the acquisition range of your unit.

When I use it it does nothing really.

I add the event to the trigger.
Trigger:
  • Trigger - Add to Untitled Trigger 001 <gen> the event (Unit - (Last created unit) Notices a target in range)


Then in the trigger I put this.
Trigger:
  • Unit - Kill (Triggering unit)


Nothing happens.
 

vypur85

Hibernate
Reaction score
803
Well, my bad. Been long time since I used that event.

'Notices a target' is pretty odd. It fires whenever a unit begins engaging an attack.
'Acquires a target' is fired when a target comes within the acquisition range of the unit.

And of course, both the events can only be fired if the unit can attack....
 

Zealot

Member
Reaction score
11
Well, my bad. Been long time since I used that event.

'Notices a target' is pretty odd. It fires whenever a unit begins engaging an attack.
'Acquires a target' is fired when a target comes within the acquisition range of the unit.

And of course, both the events can only be fired if the unit can attack....

The units I'm using can attack but they belong to Neutral Passive.
So in that case no go eh?
 

vypur85

Hibernate
Reaction score
803
> So in that case no go eh?
I have no idea man.
Haven't tried on neutrals before.
But I believe it should work.
Pretty sure you did something wrong in your trigger...
 

Zealot

Member
Reaction score
11
> So in that case no go eh?
I have no idea man.
Haven't tried on neutrals before.
But I believe it should work.
Pretty sure you did something wrong in your trigger...

Neutral Passives don't attack unless commanded to via trigger.
They can't aquire targets automatically.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top