I Dont want items to drop...

Exuro.

New Member
Reaction score
5
hey again everyone


as title says i dont want my units to drop the items their carrying when they die...

ive tried all kinda settings but nothing.. i changed the Drop Item On Death - False, and even the items ive set to not be able to drop, but they still drop!

then i added a trigger:

Code:
Item Dropped
    Events
        Unit - A unit Dies
    Conditions
    Actions
        Item - Pick every item in The Arena <gen> and do (Item - Remove (Picked item))

still no luck.. some items got removed i think, but not all..
 

Exuro.

New Member
Reaction score
5
ok ill try add a wait.. maybe its trying to destroy them before their even dropped hehe
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
change the data of the ability inventar, theres somewhere a data called "drops items upon dead" or something similar. set it to false.
 

Exuro.

New Member
Reaction score
5
alrdy done what you said accname, and the units do have Hero inventory! im gonna come back if it doesnt work in my next beta test with the wait in my trigger
 

TyrealFEAR

New Member
Reaction score
4
wait regular units not drop why
and it should be under onbject editor
"units name"
stats drops items on death [] True
 

Exuro.

New Member
Reaction score
5
The units is still dropping sadly...

I even tried this when they entered the arena:

Code:
Item Dropped
    Events
        Unit - A unit enters Destroy items <gen>
    Conditions
    Actions
        Unit Group - Pick every unit in (Units in Destroy items <gen>) and do (Actions)
            Loop - Actions
                Item - Make (Item carried by (Picked unit) in slot 1) Undroppable
                Item - Make (Item carried by (Picked unit) in slot 2) Undroppable
                Item - Make (Item carried by (Picked unit) in slot 3) Undroppable
                Item - Make (Item carried by (Picked unit) in slot 4) Undroppable
                Item - Make (Item carried by (Picked unit) in slot 5) Undroppable
                Item - Make (Item carried by (Picked unit) in slot 6) Undroppable


items still drop and is giving me a headache lol
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
could you please upload the map Oo i want to have a look at this... sounds kinda weird.
 

Exuro.

New Member
Reaction score
5
hmm kinda dont wan an unprotected version out even thou your trying to help m8!

This function cant be causing it can it?

Stats: Include As A Random Choice - True
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
well actually the problem is that creeps dont even drop items. i cannot imagine why your creeps are dropping items exept you've got some kind of strange trigger you dont even know yourself which creates items or something like that.

if you dont want to upload your unprotected map you could copy it and delete all triggers and units exept the ones needed to solve this problem.
 

Exuro.

New Member
Reaction score
5
hmm well i hardly got that many triggers in the map!

all my triggers is non-item related!

think i should give this trigger a try ?

Code:
Item Dropped
    Events
        Time - Every 0.50 seconds of game time
    Conditions
    Actions
        Item - Pick every item in Destroy items <gen> and do (Item - Remove (Picked item))
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
no. heroes dont drop items either or have you ever noticed that you lost all your items after your hero died?
all units do only drop items if you add an item-table to them in the world editor, you create a trigger for it, or you change the inventory ability to drop the items upon death.
well could you explain what items are dropped? do the creeps drop the items they have got in their inventory?
 

Exuro.

New Member
Reaction score
5
well you train a unit, then i have different item shops with items that have abilites.. then they go into an arena and fight and if they die they drop items..

in the tests ive had only some units dropped items but not sure if its the same ones.. but a few are.. i checked all stats on all my units and their all the same.. so its kinda funky
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
check all your items, i think there's a data for dropping too.
 

Exuro.

New Member
Reaction score
5
ye that data is called:

Stats: Dropped When Carrier Dies

and its set to False on all items
 

Exuro.

New Member
Reaction score
5
that last trigger i pasted is working.. all items are getting destroyed now.. thou you get to see the items for a very short moment..

will the trigger leak or lagg if i set it to run every 0.1 second..?
 
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