PowerQuest 0.19.0
|
Each inventory you create can have its own class and script file. These are created automatically with the name appended, eg: InventoryCrowbar.cs.
Public Member Functions | |
IEnumerator | OnLookAtInventory (Inventory thisItem) |
Blocking script called when "Interact" is used on the item. | |
IEnumerator | OnInteractInventory (IInventory thisItem) |
Blocking script called when "Look at" is used on the item. | |
IEnumerator | OnUseInvInventory (IInventory thisItem, IInventory item) |
Blocking script called when one inventory item is used on another. Check the passed in item to see which was used. Eg: if ( item == I.RubberChicken ) | |
IEnumerator OnLookAtInventory | ( | Inventory | thisItem | ) |
Blocking script called when "Interact" is used on the item.
IEnumerator OnInteractInventory | ( | IInventory | thisItem | ) |
Blocking script called when "Look at" is used on the item.
IEnumerator OnUseInvInventory | ( | IInventory | thisItem, |
IInventory | item ) |
Blocking script called when one inventory item is used on another. Check the passed in item to see which was used. Eg: if ( item == I.RubberChicken )