EVENT: unit comes with in range of (Unit Variable)

theDTD

Active Member
Reaction score
8
how can i make an event like this?
i was planning to use it in my skill called 'frost aura' which should be like this:

Trigger1:
E: unit learns a skill
C: skill = Frost aura
A: set X(unit) = learning hero

Trigger2:
E: (unit comes near X(unit)) <- this is where i need it
C: unit = enemy
A: create dummy for X(unit)
order dummy to cast slow on enemy
 

vypur85

Hibernate
Reaction score
803
There's no easy way to use the unit comes within unit event.

Your best bet would be to use periodic trigger and periodically check the for the said unit.
 

Juggernaut

I don't know what to change it to
Reaction score
33
Tick something in the Editor preferences something like allow negative data in object editor.
Then set the movespeed bonus of Endurance aura to -x, and attack speed to 0 (if you don't want attack speed to be slowed)

Also don't forget to set targets allowed to enemy.
 

theDTD

Active Member
Reaction score
8
ok i see, my problem with the periodic event is that it would make the game 'laggy'
but ill try the endurance aura if it'll work,
 

theDTD

Active Member
Reaction score
8
How to make the endurance aura's effect negative? object editor does not allow negative values
 

Solu9

You can change this now in User CP.
Reaction score
216
You can check a box in the editor's Preferences to allow negative values.
 

vypur85

Hibernate
Reaction score
803
To be specific.
Go to Terrain Editor. File > Preferences > General tab > Allow negative....

Alternatively, you can hold SHIFT and double click the field you wanna change, and add your negative value.
 
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