spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Reference
    * Event Types

Inventory item events

  • Look at inventory
    occurs when the player clicks on the inventory item while in the "look" mode.
  • Interact with inventory
    currently, because the Interact mode selects the inventory item, this event can only be triggered by manually calling the InventoryItem.RunInteraction script function (ie. you have to use the Handle Inv Clicks in Script option).
  • Speak to inventory
    only applies to the Lucasarts-style inventory, occurs when the player clicks the Talk icon on the inventory item.
  • Use inventory on inv
    occurs when the player uses another inventory object on this one. You can use the player.ActiveInventory property to distinguish which item they used.
    This event allows the player to combine items, and so on. For example, if they had picked up a laptop computer and a battery separately, then you could use this to allow them to insert the battery into the computer.
  • Other click on inventory
    only applies to the Lucasarts-style inventory, occurs when the player clicks any other cursor mode (apart from look, talk and use_inv) on the item.

User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.