Making Item Undroppable

meehael

New Member
Reaction score
6
Hi all,

I have a preplaced hero, and in his properties->inventory i placed 6 items. His controler is a computer, and a funny thing is that when he sees a better item on the ground, he drops one of the items he's carrying and picks up the better item. What a thief!

I tried this:
Code:
For each (Integer A) from 1 to 6, do (Actions)
    Loop - Actions
        Item - Make (Item carried by MyHero 0102 <gen> in slot (Integer A)) Undroppable
But it doesn't work. He's still stealing items on the ground. Is it because he's preplaced or because his items are preplaced?

Thanks,
Regards!
 

meehael

New Member
Reaction score
6
Hm, it looks like it's because I'm using Melee Game - Run melee AI scripts (for computer players). But how come that this can override the inability to drop items, and make computer players drop items, anyway? Human players still can't drop items using function in previous thread.
I need this: Melee Game - Run melee AI scripts (for computer players), because otherwise the computer player won't be as effective.
 
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