Jump to content

TakePartyItem()


Ardanis

Recommended Posts

According to IESDP

All slots are checked; inventory slots are checked in the following order

 

 

0, 2, 4, 6, 8, 10, 12, 14

1, 3, 5, 7, 9, 11, 13, 15

 

This is only relevant when the action is performed by a party member. For other allegiances slots are being filled in the reverse order AND the starting slot is not 16th inventory - as one might have expected, - but the "magical weapon" slot.

 

Which leads to bugs, if the creature then casts a weapon spell, like Melf's Meteors, destroying the item taken.

 

This applies to all of the following:

TakePartyItem()

TakePartyItemAll()

TakePartyItemRange()

TakePartyItemNum()

TakeItemListParty()

TakeItemListPartyNum()

 

TakeItemReplace() is notably unaffected by this bug, as are GiveItem() and GiveItemCreate().

 

 

 

 

EDIT: Unsolicted edit by igi to note:

"The TakePartyItem action (and its variants), when performed by a non-party member, would fill the creature's magic weapon slot and then its inventory. In EE, the magic weapon slot is ignored and items taken go straight to the inventory."

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...