Author Topic: How to stop Creatures dropping equiped items, weapons etc  (Read 722 times)

Legacy_Madasahatter

  • Full Member
  • ***
  • Posts: 214
  • Karma: +0/-0
How to stop Creatures dropping equiped items, weapons etc
« on: November 09, 2010, 10:46:07 pm »


               Hi, i am using silicon scouts treasure system that spawns random treasure into the creatures inventory, I then have a custom script that drops that random loot straight into the pc's inventory on creature death. Problem is evey now and then it drops the creature's weapon into the killers inventory, how can i stop the creatures weapon dropping into it's inventory ???

Thanks
               
               

               
            

Legacy_Madasahatter

  • Full Member
  • ***
  • Posts: 214
  • Karma: +0/-0
How to stop Creatures dropping equiped items, weapons etc
« Reply #1 on: November 09, 2010, 11:00:09 pm »


               dropable and pickpocketable is not selected.
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
How to stop Creatures dropping equiped items, weapons etc
« Reply #2 on: November 09, 2010, 11:22:20 pm »


               I added that to the script in your last post.   it is the line that check to see if the item is droppable or not.

http://social.biowar...5110769#5114688


if (GetDroppableFlag(oItem))
               
               

               


                     Modifié par Lightfoot8, 09 novembre 2010 - 11:23 .
                     
                  


            

Legacy_Madasahatter

  • Full Member
  • ***
  • Posts: 214
  • Karma: +0/-0
How to stop Creatures dropping equiped items, weapons etc
« Reply #3 on: November 10, 2010, 12:41:23 am »


               Hey once again many thanks, for some reason i was still using 420's script, it worked ok but did not check for dropable items.  :=)
               
               

               
            

Legacy_420

  • Sr. Member
  • ****
  • Posts: 370
  • Karma: +0/-0
How to stop Creatures dropping equiped items, weapons etc
« Reply #4 on: November 11, 2010, 12:01:19 am »


               

Madasahatter wrote...

Hey once again many thanks, for some reason i was still using 420's script, it worked ok but did not check for dropable items.  :=)

D'oh!

-420
               
               

               
            

Legacy_Eat2surf

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
How to stop Creatures dropping equiped items, weapons etc
« Reply #5 on: November 12, 2010, 03:02:41 am »


               

420 wrote...

Madasahatter wrote...

Hey once again many thanks, for some reason i was still using 420's script, it worked ok but did not check for dropable items.  :=)

D'oh!

-420


'<img'>