Item undrop Feature

Crusher

You can change this now in User CP.
Reaction score
121
Since I saw this in a map called ''DotA'', I would like to ask about this function.

So, when you use a useable item, for example: Arcane Ring which regenerates mana to nearby allies and which has 30 seconds cooldown, you can't drop it when it's in cooldown. How can you make that you can't drop an item if he is in cooldown?
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
Simplest way i can think off:

Events -
Unit starts the effect of ability

Conditions -
The ability is your item ability

Actions -
Make item Undroppable.
Wait 30 seconds
Make item Droppable.
 

KileRatZ

Member
Reaction score
4
Sorry if I'm not helpful, but I'm really curious why you (or DotA for that matter) would need such a function after 1.22? As far as I'm aware, items already have shared cooldown since then, and they'll keep it even if you give it to another hero.
 

Crusher

You can change this now in User CP.
Reaction score
121
Simplest way i can think off:

Events -
Unit starts the effect of ability

Conditions -
The ability is your item ability

Actions -
Make item Undroppable.
Wait 30 seconds
Make item Droppable.

There isn't a function in trigger editor to make item droppable, isn't it?

On Topic:

Well, since my item bugs if it's being dropped, that's why I asked this.
 

Crusher

You can change this now in User CP.
Reaction score
121
I mean drop, not undrop, so you can drop your item again. Pawnable is not.
 

Lord Regno

Active Member
Reaction score
19
It dose.

Item - Make undroppabel

The undroppabel text are blue and you can change it to droppabel.

EDIT: Obs sorry...
 

Crusher

You can change this now in User CP.
Reaction score
121
Well, I tried this -->

Trigger:
  • Granite Torso Item
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Granite Torso (Avatar)
    • Actions
      • Item - Make (Item carried by (Casting unit) of type Granite Torso) Undroppable
      • Wait 5.00 seconds
      • Item - Make (Target item of issued order) Droppable


But it doesn't work.
 

Lord Regno

Active Member
Reaction score
19
I think that the spell need to have same second as the trigger.

And I looked on this post before he edited and I did not upgrade the homepage before I posted...
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
Trigger:
  • Melee Initialization
    • Events
      • Unit - A unit Uses an item
    • Conditions
      • (Item-type of (Item being manipulated)) Equal to Tome of Experience
    • Actions
      • Item - Make (Item being manipulated) Undroppable
      • Wait 5.00 seconds
      • Item - Make (Item being manipulated) Droppable


?
 

jomik

New Member
Reaction score
17
Umm, maybe :p I'm not sure, but it uses a wait, and the Item being manipulated is actually a global bj_ variable >.< :p
I think it would be MUI though.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top