OpenInventory(object, object)
Opens a player's inventory panel.
void OpenInventory( object oCreature, object oPlayer );
Parameters
oCreature
Creature to view the inventory of.
oPlayer
Player who's screen to pop up the inventory panel on.
Description
Opens a creature's inventory panel. DMs can see any player's inventory. Players can view their own inventory, or that of a henchman, familiar, or animal companion.
Remarks
Trying to open the inventory of an object that doesn't fit into one of the aforementioned categories will not work.
This function is used with the SoU henchman system. When the player presses the "open henchman inventory" button, a shout is sent which the henchman hears. This is picked up on in the OnConversation script, which calls the bkRespondToHenchmenShout function in x0_inc_henai, which ultimately calls OpenInventory.
Version
1.30
See Also
categories: | Henchmen/Familiars/Summoned Functions | Inventory Functions |
author: Charles Feduke, editor: Lilac Soul
Send comments on this topic.