
Prototype: ChangeContainerItem( PartyID, slot, action )

Description: Moves an item from PC's inventory into a container or vice versa. If PartyID is 0 then PC is the first selected PC and container is the current container. If PartyID is not 0 then the container is the pile at the feet of that PC.

Parameters:
PartyID   - the PC's position in the party
slot      - the item's inventory or container slot
action    =
  0 - put item of PC into container
  1 - get item from container and put it in actor's inventory (backpack)

Return value: None

See also: GetContainer, GetSlotItem


MD5: b5226a9f5a886c5552438cf1598c72e1
