ActionGiveItem(object, object)
Gives a specified item to a target creature.
action ActionGiveItem( object oItem, object oReciever );
Parameters
oItem
Item to give
oReciever
Reciever of oItem
Description
Gives oItem to oReciever. No corresponding animations are played, and the item is deposited immediately into oReciever's inventory.
If oItem is not a valid item, or oReciever is not a valid object, nothing will happen.
Remarks
SPECULATION: oReciever can be a creature (PC or NPC) or a container object.
Version
1.28
See Also
functions: | ActionPutDownItem | ActionTakeItem | CreateItemOnObject |
categories: | Action on Object Functions | Inventory Functions |
author: Ryan Hunt, editor: Charles Feduke
Send comments on this topic.